Revision 8a47ad5e libavformat/mxfdec.c

View differences:

libavformat/mxfdec.c
521 521

  
522 522
    do {
523 523
        code = get_byte(pb);
524
        dprintf(NULL, "pixel layout: code 0x%x\n", code);
524
        dprintf(NULL, "pixel layout: code %#x\n", code);
525 525
        switch (code) {
526 526
        case 0x52: /* R */
527 527
            descriptor->bits_per_sample += get_byte(pb);
......
874 874
        uint64_t next = url_ftell(pb) + size;
875 875
        UID uid = {0};
876 876

  
877
        dprintf(mxf->fc, "local tag %#04X size %d\n", tag, size);
877
        dprintf(mxf->fc, "local tag %#04x size %d\n", tag, size);
878 878
        if (!size) { /* ignore empty tag, needed for some files with empty UMID tag */
879
            av_log(mxf->fc, AV_LOG_ERROR, "local tag 0x%04X with 0 size\n", tag);
879
            av_log(mxf->fc, AV_LOG_ERROR, "local tag %#04x with 0 size\n", tag);
880 880
            continue;
881 881
        }
882 882
        if (tag > 0x7FFF) { /* dynamic tag */
......
885 885
                int local_tag = AV_RB16(mxf->local_tags+i*18);
886 886
                if (local_tag == tag) {
887 887
                    memcpy(uid, mxf->local_tags+i*18+2, 16);
888
                    dprintf(mxf->fc, "local tag 0x%04X\n", local_tag);
888
                    dprintf(mxf->fc, "local tag %#04x\n", local_tag);
889 889
                    PRINT_KEY(mxf->fc, "uid", uid);
890 890
                }
891 891
            }

Also available in: Unified diff