From 2922ab7e6fecd56942323b27065c21f5332b0588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 5 May 2013 09:46:37 +0200 Subject: [PATCH] matroska: set "done" only during resync fail. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes playback of test7.mkv validation test file. Signed-off-by: Reimar Döffinger (cherry picked from commit 762d4335aec2e5299a06bfbce15d21336af19464) --- libavformat/matroskadec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 87c4a39d0e..ea7c541d16 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2319,7 +2319,6 @@ static int matroska_parse_cluster_incremental(MatroskaDemuxContext *matroska) } } - if (res < 0) matroska->done = 1; return res; }