summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-21 21:25:02 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-21 21:25:02 +0000
commit6a269f35eee00f3dddeaf9a9749b86b0765a431a (patch)
tree708cba21c6ec8edf2bf1801314ba8e5ed8f43a34 /libavcodec/imgconvert.c
parent7d3829a87a7465f3effe8e0e09760882578e5a0a (diff)
Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().
Originally committed as revision 25791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c4
1 files changed, 2 insertions, 2 deletions
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)