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

jbr subversion
Sun Sep 27 00:54:29 CEST 2009


Author: jbr
Date: Sun Sep 27 00:54:29 2009
New Revision: 20034

Log:
simplify format string for writing pix_fmt string.

Modified:
   trunk/libavcodec/imgconvert.c

Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c	Sat Sep 26 23:06:18 2009	(r20033)
+++ trunk/libavcodec/imgconvert.c	Sun Sep 27 00:54:29 2009	(r20034)
@@ -585,7 +585,7 @@ void avcodec_pix_fmt_string (char *buf, 
         char is_alpha_char= info.is_alpha ? 'y' : 'n';
 
         snprintf (buf, buf_size,
-                  "%-11s" "     %1d     " "   %2d " "     %c   ",
+                  "%-11s %5d %9d %6c",
                   info.name,
                   info.nb_channels,
                   info.depth,



More information about the ffmpeg-cvslog mailing list