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

bcoudurier subversion
Sat Jan 19 20:51:55 CET 2008


Author: bcoudurier
Date: Sat Jan 19 20:51:55 2008
New Revision: 11570

Log:
check if read child returned error

Modified:
   trunk/libavformat/mxf.c

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Sat Jan 19 20:51:55 2008
@@ -939,8 +939,8 @@ static int mxf_read_local_tags(MXFContex
         }
         if (ctx_size && tag == 0x3C0A)
             get_buffer(pb, ctx->uid, 16);
-        else
-            read_child(ctx, pb, tag, size, uid);
+        else if (read_child(ctx, pb, tag, size, uid) < 0)
+            return -1;
 
         url_fseek(pb, next, SEEK_SET);
     }




More information about the ffmpeg-cvslog mailing list