[Ffmpeg-cvslog] r6962 - trunk/libavformat/mxf.c

bcoudurier subversion
Fri Nov 10 15:04:44 CET 2006


Author: bcoudurier
Date: Fri Nov 10 15:04:44 2006
New Revision: 6962

Modified:
   trunk/libavformat/mxf.c

Log:
report error when local tag has 0 size

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Fri Nov 10 15:04:44 2006
@@ -371,8 +371,10 @@
 
         bytes_read += size + 4;
         dprintf("tag 0x%04X, size %d\n", tag, size);
-        if (!size) /* ignore empty tag, needed for some files with empty UMID tag */
+        if (!size) { /* ignore empty tag, needed for some files with empty UMID tag */
+            av_log(mxf->fc, AV_LOG_ERROR, "local tag 0x%04X with 0 size\n", tag);
             continue;
+        }
         switch (tag) {
         case 0x3C0A:
             get_buffer(pb, source_clip->uid, 16);




More information about the ffmpeg-cvslog mailing list