diff --git a/libavformat/mov.c b/libavformat/mov.c index 335ee23bed..0bb7362179 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -324,8 +324,6 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom) a.type, (char*)&a.type, (char*)&atom.type, a.size, total_size, atom.size); if (a.size == 0) { a.size = atom.size - total_size + 8; - if (a.size <= 8) - break; } a.size -= 8; if (a.size < 0)