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:
parent
953f54f1f4
commit
5d2b12f6de
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user