diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-08 23:11:13 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-08 23:11:13 +0000 |
commit | 5d2b12f6de2927d648075b70f7204328325d670d (patch) | |
tree | 9505256fb93232a799e9f3d66ce447eaa86ff3ee /libavformat/matroskadec.c | |
parent | 953f54f1f4796ec866745fbc9802975d432dd6fe (diff) | |
download | ffmpeg-streaming-5d2b12f6de2927d648075b70f7204328325d670d.zip ffmpeg-streaming-5d2b12f6de2927d648075b70f7204328325d670d.tar.gz |
matroskadec: fail gracefully when seeking don't work
Originally committed as revision 13085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 4899fb4..4de3f8b 100644 --- a/libavformat/matroskadec.c +++ b/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. */ |