Revision 6a269f35

View differences:

libavcodec/imgconvert.c
438 438
    /* print header */
439 439
    if (pix_fmt < 0)
440 440
        snprintf (buf, buf_size,
441
                  "name      " " nb_components" " depth"
441
                  "name      " " nb_components" " nb_bits"
442 442
            );
443 443
    else{
444 444
        const AVPixFmtDescriptor *pixdesc = &av_pix_fmt_descriptors[pix_fmt];
445 445
        snprintf (buf, buf_size,
446
                  "%-11s %5d %7d",
446
                  "%-11s %7d %10d",
447 447
                  pixdesc->name,
448 448
                  pixdesc->nb_components,
449 449
                  av_get_bits_per_pixel(pixdesc)

Also available in: Unified diff