[FFmpeg-devel] [PATCH] avformat/mov: Fix MSAN issue with stsd_id
Michael Niedermayer
michael at niedermayer.cc
Fri Nov 17 19:13:35 EET 2023
From: Thomas Guilbert <tguilbert at chromium.org>
Fixes: use of uninitialized value
Fixes: bbb-320x240-2video-2audio.mp4
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index e8efccf6ebf..2977d4e55eb 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1466,6 +1466,7 @@ static int update_frag_index(MOVContext *c, int64_t offset)
frag_stream_info[i].index_base = -1;
frag_stream_info[i].index_entry = -1;
frag_stream_info[i].encryption_index = NULL;
+ frag_stream_info[i].stsd_id = -1;
}
if (index < c->frag_index.nb_items)
--
2.17.1
More information about the ffmpeg-devel
mailing list