Mercurial > libavformat.hg
changeset 4175:6b141a4f9567 libavformat
use lower case x and alternate format for hex in printf
author | bcoudurier |
---|---|
date | Thu, 08 Jan 2009 02:57:21 +0000 |
parents | 8572dd01c69d |
children | dc74e915dfe6 |
files | mxfdec.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mxfdec.c Thu Jan 08 02:54:43 2009 +0000 +++ b/mxfdec.c Thu Jan 08 02:57:21 2009 +0000 @@ -521,7 +521,7 @@ do { code = get_byte(pb); - dprintf(NULL, "pixel layout: code 0x%x\n", code); + dprintf(NULL, "pixel layout: code %#x\n", code); switch (code) { case 0x52: /* R */ descriptor->bits_per_sample += get_byte(pb); @@ -874,9 +874,9 @@ uint64_t next = url_ftell(pb) + size; UID uid = {0}; - dprintf(mxf->fc, "local tag %#04X size %d\n", tag, size); + dprintf(mxf->fc, "local tag %#04x size %d\n", tag, size); 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); + av_log(mxf->fc, AV_LOG_ERROR, "local tag %#04x with 0 size\n", tag); continue; } if (tag > 0x7FFF) { /* dynamic tag */ @@ -885,7 +885,7 @@ int local_tag = AV_RB16(mxf->local_tags+i*18); if (local_tag == tag) { memcpy(uid, mxf->local_tags+i*18+2, 16); - dprintf(mxf->fc, "local tag 0x%04X\n", local_tag); + dprintf(mxf->fc, "local tag %#04x\n", local_tag); PRINT_KEY(mxf->fc, "uid", uid); } }