[SCM] libav/experimental: Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:19:15 UTC 2013
The following commit has been merged in the experimental branch:
commit 6a269f35eee00f3dddeaf9a9749b86b0765a431a
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Sun Nov 21 21:25:02 2010 +0000
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
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index a7d8812..ea89b89 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list