Commit 5d2b12f6 authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: fail gracefully when seeking don't work

Originally committed as revision 13085 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 953f54f1
......@@ -1916,7 +1916,7 @@ matroska_parse_seekhead (MatroskaDemuxContext *matroska)
/* seek */
if ((res = ebml_read_seek(matroska, seek_pos +
matroska->segment_start)) < 0)
return res;
goto finish;
/* we don't want to lose our seekhead level, so we add
* 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