[FFmpeg-devel] [PATCH] matroska: set "done" only during resync fail.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 5 10:00:34 CEST 2013


Fixes playback of test7.mkv validation test file.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavformat/matroskadec.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index c103dce..e9e05e2 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -2420,7 +2420,6 @@ static int matroska_parse_cluster_incremental(MatroskaDemuxContext *matroska)
         }
     }
 
-    if (res < 0)  matroska->done = 1;
     return res;
 }
 
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list