avformat/mov: Fix MSAN issue with stsd_id

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Thomas Guilbert 2023-11-15 20:28:49 +00:00 committed by Michael Niedermayer
parent 850ab8f6da
commit ff451df947
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 1 additions and 0 deletions

View File

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