Commit cae0589065 for ffmpeg

commit cae058906568418e33eb6a80a3da457f49795ef9
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Thu Oct 15 04:58:55 2026 +0200

    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 <michael@niedermayer.cc>

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