This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit b59471f8c80c32489c7db93b7bd30b891c69d980
Author:     Marvin Scholz <[email protected]>
AuthorDate: Sun Oct 5 23:09:46 2025 +0200
Commit:     Marvin Scholz <[email protected]>
CommitDate: Thu Feb 19 17:18:12 2026 +0100

    avformat: rtsp: do not skip packets in SET_PARAMETER command handling
    
    Return EAGAIN so the client has a chance to read the pending packets
    instead of just silently discarding them internally.
---
 libavformat/rtspdec.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index ad16630d2e..c7647f8b97 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -676,9 +676,11 @@ static int rtsp_read_command_reply(AVFormatContext *s, 
enum AVFormatCommandID id
         return AVERROR(ENOMEM);
 
     RTSPMessageHeader reply;
-    int ret = ff_rtsp_read_reply(s, &reply, &res->body, 0, "SET_PARAMETER");
+    int ret = ff_rtsp_read_reply(s, &reply, &res->body, 1, "SET_PARAMETER");
     if (ret < 0)
         return ret;
+    if (ret == 1)
+        return AVERROR(EAGAIN);
 
     res->status_code = reply.status_code;
     res->body_len = reply.content_length;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to