[FFmpeg-cvslog] r12464 - trunk/libavformat/mxf.c

bcoudurier subversion
Sun Mar 16 18:54:37 CET 2008


Author: bcoudurier
Date: Sun Mar 16 18:54:36 2008
New Revision: 12464

Log:
just skip klv packet, when no corresponding stream is found

Modified:
   trunk/libavformat/mxf.c

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Sun Mar 16 18:54:36 2008
@@ -350,8 +350,7 @@ static int mxf_read_packet(AVFormatConte
             int index = mxf_get_stream_index(s, &klv);
             if (index < 0) {
                 av_log(s, AV_LOG_ERROR, "error getting stream index\n");
-                url_fskip(s->pb, klv.length);
-                return -1;
+                goto skip;
             }
             if (s->streams[index]->discard == AVDISCARD_ALL)
                 goto skip;




More information about the ffmpeg-cvslog mailing list