changeset 10277:ddd69069dfa5 libavcodec

simplify format string for writing pix_fmt string.
author jbr
date Sat, 26 Sep 2009 22:54:29 +0000
parents 06d4e87718b1
children 1a4af35efbda
files imgconvert.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/imgconvert.c	Sat Sep 26 19:55:21 2009 +0000
+++ b/imgconvert.c	Sat Sep 26 22:54:29 2009 +0000
@@ -585,7 +585,7 @@
         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,