# HG changeset patch # User bcoudurier # Date 1163167484 0 # Node ID 927cc72c6cac7747003ba4b8a7649c7390f77716 # Parent 49d5a5ca29876a8bf126e2d1804080ac68fb08e7 report error when local tag has 0 size diff -r 49d5a5ca2987 -r 927cc72c6cac mxf.c --- a/mxf.c Thu Nov 09 11:37:30 2006 +0000 +++ b/mxf.c Fri Nov 10 14:04:44 2006 +0000 @@ -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);