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

Git pushed a commit to branch master
in repository ffmpeg.

commit 8b7e5d278c3e0008de31b61f6d50893260967755
Author:     zhang xingxing <[email protected]>
AuthorDate: Thu Oct 15 04:01:57 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 19 23:51:00 2026 +0000

    avformat/idroqdec: skip the whole body of a repeated RoQ_INFO chunk
    
    The RoQ player in the Quake III Arena source (code/client/cl_cin.c) also
    continues after the declared size of every RoQ_INFO chunk.
    
    Fixes: yyLBi9GsHV9w
    Fixes: swarm-RoQ_INFO-re-entry-skips-fixed-size-ignoring-chunk_size-e7709a
    Stream desynchronization Replicated through UnModified FFmpeg
    
    Found-by: zhang xingxing <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/idroqdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/idroqdec.c b/libavformat/idroqdec.c
index 861338ceec..76d96196ba 100644
--- a/libavformat/idroqdec.c
+++ b/libavformat/idroqdec.c
@@ -142,7 +142,7 @@ static int roq_read_packet(AVFormatContext *s,
                 break;
             }
             /* don't care about this chunk anymore */
-            avio_skip(pb, RoQ_CHUNK_PREAMBLE_SIZE);
+            avio_skip(pb, chunk_size);
             break;
 
         case RoQ_QUAD_CODEBOOK:

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to