From 65935bc72926147b5f58a854c90cb8be164b1b53 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sat, 26 Sep 2009 22:54:29 +0000 Subject: [PATCH] simplify format string for writing pix_fmt string. Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 8e0490ac93..4698fcf82e 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -585,7 +585,7 @@ void avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt) 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,