matroskadec: fail gracefully when seeking don't work

Originally committed as revision 13085 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 17 years ago
parent 953f54f1f4
commit 5d2b12f6de
  1. 2
      libavformat/matroskadec.c

@ -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…
Cancel
Save