Commit 63010f1e authored by aurel's avatar aurel

matroskadec: fail gracefully when seeking don't work

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13085 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 82a9f55d
...@@ -1916,7 +1916,7 @@ matroska_parse_seekhead (MatroskaDemuxContext *matroska) ...@@ -1916,7 +1916,7 @@ matroska_parse_seekhead (MatroskaDemuxContext *matroska)
/* seek */ /* seek */
if ((res = ebml_read_seek(matroska, seek_pos + if ((res = ebml_read_seek(matroska, seek_pos +
matroska->segment_start)) < 0) matroska->segment_start)) < 0)
return res; goto finish;
/* we don't want to lose our seekhead level, so we add /* we don't want to lose our seekhead level, so we add
* a dummy. This is a crude hack. */ * a dummy. This is a crude hack. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment