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

Git pushed a commit to branch master
in repository ffmpeg.

commit cae058906568418e33eb6a80a3da457f49795ef9
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Oct 15 04:58:55 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 19 23:51:00 2026 +0000

    avformat/idroqdec: continue after the declared size of the first RoQ_INFO 
chunk
    
    Stream desynchronization Replicated through UnModified FFmpeg
    
    Found during review of the fixes for the security report yyLBi9GsHV9w
    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 ad904b42b4..c67724b128 100644
--- a/libavformat/idroqdec.c
+++ b/libavformat/idroqdec.c
@@ -139,7 +139,7 @@ static int roq_read_packet(AVFormatContext *s,
                     return ret;
                 st->codecpar->width  = roq->width  = AV_RL16(preamble);
                 st->codecpar->height = roq->height = AV_RL16(preamble + 2);
-                break;
+                chunk_size -= RoQ_CHUNK_PREAMBLE_SIZE;
             }
             /* don't care about this chunk anymore */
             avio_skip(pb, chunk_size);

-- 
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