ffmpeg | branch: release/6.1 | Thomas Guilbert <tguilb...@chromium.org> | Wed 
Nov 15 20:28:49 2023 +0000| [2bd36ef4c7709a4beaef358a75408c0d6f9e3ea7] | 
committer: Michael Niedermayer

avformat/mov: Fix MSAN issue with stsd_id

Fixes: use of uninitialized value
Fixes: bbb-320x240-2video-2audio.mp4

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
(cherry picked from commit ff451df9479810d75851f92babd0b4290da03dd6)
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2bd36ef4c7709a4beaef358a75408c0d6f9e3ea7
---

 libavformat/mov.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 65c5c8c288..606fe22f71 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1472,6 +1472,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)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to