This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8030e3b8999fa2c2ab2263372b7e375241e3eb4d Author: Marvin Scholz <[email protected]> AuthorDate: Fri Oct 10 17:55:53 2025 +0200 Commit: Marvin Scholz <[email protected]> CommitDate: Thu Feb 19 17:18:12 2026 +0100 avformat: rtspdec: do not allow SET_PARAMETER command too early --- libavformat/rtspdec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 97bb4f23ae..1fd50bf9be 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -650,6 +650,10 @@ static int rtsp_submit_command(struct AVFormatContext *s, enum AVFormatCommandID RTSPState *rt = s->priv_data; AVRTSPCommandRequest *req = data; + if (rt->state == RTSP_STATE_IDLE) + // Not ready to send a SET_PARAMETERS command yet + return AVERROR(EAGAIN); + av_log(s, AV_LOG_DEBUG, "Sending SET_PARAMETER command to %s\n", rt->control_uri); char *headers = dict_to_headers(req->headers); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
