Commit a8d0a523e0 for ffmpeg

commit a8d0a523e0ede3596b05cb45ccec283cb0a67048
Author: Michael Niedermayer <michael@niedermayer.cc>
Date:   Sat Oct 10 06:48:33 2026 +0200

    avformat/asfdec_o: reject Simple Index Objects whose size does not fit an int64

    Timeout Replicated through API

    Fixes: Timeout
    Fixes: 472415045/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-5931601155653632
    Fixes: nsrEzoEJYM73

    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c
index f3d3d06891..4961c1617a 100644
--- a/libavformat/asfdec_o.c
+++ b/libavformat/asfdec_o.c
@@ -841,7 +841,7 @@ static int asf_read_simple_index(AVFormatContext *s, const GUIDParseTable *g)
     int64_t offset;
     uint64_t size = avio_rl64(pb);

-    if (size < 24)
+    if (size < 24 || size > INT64_MAX)
         return AVERROR_INVALIDDATA;

     // simple index objects should be ordered by stream number, this loop tries to find