mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Use av_pix_fmt_descriptors information in avcodec_pix_fmt_string().
Originally committed as revision 25688 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f35a41ff5d
commit
a5f27f6db8
@ -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])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user