matroska: set "done" only during resync fail.

Fixes playback of test7.mkv validation test file.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger 2013-05-05 09:46:37 +02:00
parent 004779cc59
commit 762d4335ae

View File

@ -2420,7 +2420,6 @@ static int matroska_parse_cluster_incremental(MatroskaDemuxContext *matroska)
}
}
if (res < 0) matroska->done = 1;
return res;
}