diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-08 02:57:21 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-08 02:57:21 +0000 |
commit | 8a47ad5e7c9b379abda90827c4da13e4041a8ddd (patch) | |
tree | 52175fed623b4d3bb0a73dbd74f93648003ade93 | |
parent | 861b4f012ac53fc08c60101953f573d374c9238e (diff) | |
download | ffmpeg-8a47ad5e7c9b379abda90827c4da13e4041a8ddd.tar.gz |
use lower case x and alternate format for hex in printf
Originally committed as revision 16494 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxfdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 046fe4b1ed..6dafdc6f5b 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -521,7 +521,7 @@ static void mxf_read_pixel_layout(ByteIOContext *pb, MXFDescriptor *descriptor) 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 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child 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 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, int (*read_child 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); } } |