matroska: set "done" only during resync fail.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 5 May 2013 07:46:37 +0000 (09:46 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 7 May 2013 03:30:19 +0000 (05:30 +0200)
Fixes playback of test7.mkv validation test file.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/matroskadec.c

index ca877c3..648941e 100644 (file)
@@ -2420,7 +2420,6 @@ static int matroska_parse_cluster_incremental(MatroskaDemuxContext *matroska)
         }
     }
 
-    if (res < 0)  matroska->done = 1;
     return res;
 }