[FFmpeg-cvslog] r13085 - trunk/libavformat/matroskadec.c

aurel subversion
Fri May 9 01:11:13 CEST 2008


Author: aurel
Date: Fri May  9 01:11:13 2008
New Revision: 13085

Log:
matroskadec: fail gracefully when seeking don't work

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Fri May  9 01:11:13 2008
@@ -1916,7 +1916,7 @@ matroska_parse_seekhead (MatroskaDemuxCo
                         /* 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. */




More information about the ffmpeg-cvslog mailing list