diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index a7d88122fb..ea89b89cab 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -438,12 +438,12 @@ void avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt) /* print header */ if (pix_fmt < 0) snprintf (buf, buf_size, - "name " " nb_components" " depth" + "name " " nb_components" " nb_bits" ); else{ const AVPixFmtDescriptor *pixdesc = &av_pix_fmt_descriptors[pix_fmt]; snprintf (buf, buf_size, - "%-11s %5d %7d", + "%-11s %7d %10d", pixdesc->name, pixdesc->nb_components, av_get_bits_per_pixel(pixdesc)