[FFmpeg-cvslog] r25791 - trunk/libavcodec/imgconvert.c

stefano subversion
Sun Nov 21 22:25:02 CET 2010


Author: stefano
Date: Sun Nov 21 22:25:02 2010
New Revision: 25791

Log:
Replace "depth" with "nb_bits" in the header of avcodec_pix_fmt_string().

Modified:
   trunk/libavcodec/imgconvert.c

Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c	Sun Nov 21 21:42:06 2010	(r25790)
+++ trunk/libavcodec/imgconvert.c	Sun Nov 21 22:25:02 2010	(r25791)
@@ -438,12 +438,12 @@ void avcodec_pix_fmt_string (char *buf, 
     /* 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)



More information about the ffmpeg-cvslog mailing list