1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

matroskadec: fail gracefully when seeking don't work

Originally committed as revision 13085 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2008-05-08 23:11:13 +00:00
parent 953f54f1f4
commit 5d2b12f6de

View File

@ -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. */