diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-07 16:30:39 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-07 16:30:39 +0300 |
commit | a5f27f6db8e09d6f2897e80d88c96016c808acd7 (patch) | |
tree | fe9eee0490bf774aabb13f937fd82db9042a749c /libavcodec/imgconvert.c | |
parent | f35a41ff5d99fee31b61e6dea419700bef91bbe3 (diff) |
Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().
Originally committed as revision 25688 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 8459d68207..3d7e7598a4 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -446,7 +446,7 @@ void avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt) "%-11s %5d %9d", av_pix_fmt_descriptors[pix_fmt].name, info.nb_channels, - info.depth + av_get_bits_per_pixel(&av_pix_fmt_descriptors[pix_fmt]) ); } } |