diff --git a/libavformat/mov.c b/libavformat/mov.c index 88c36f6af3..72050a96a7 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)