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

Reimar Döffinger git at videolan.org
Thu May 9 17:22:01 CEST 2013


ffmpeg | branch: release/1.0 | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun May  5 09:46:37 2013 +0200| [9fef5d55538ca5df06b26268fafc0559b8f9d219] | committer: Carl Eugen Hoyos

matroska: set "done" only during resync fail.

Fixes playback of test7.mkv validation test file.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
(cherry picked from commit 762d4335aec2e5299a06bfbce15d21336af19464)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9fef5d55538ca5df06b26268fafc0559b8f9d219
---

 libavformat/matroskadec.c |    1 -
 1 file changed, 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list