diff --git a/libavformat/mov.c b/libavformat/mov.c index d551a0f8e0..056890c85b 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -5048,6 +5048,7 @@ static int mov_read_keys(MOVContext *c, AVIOContext *pb, MOVAtom atom) key_size -= 8; if (type != MKTAG('m','d','t','a')) { avio_skip(pb, key_size); + continue; } c->meta_keys[i] = av_mallocz(key_size + 1); if (!c->meta_keys[i])