diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2009-09-26 22:54:29 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2009-09-26 22:54:29 +0000 |
commit | 65935bc72926147b5f58a854c90cb8be164b1b53 (patch) | |
tree | 862316fb707600562eee2cccac6196aa9957b8fe /libavcodec/imgconvert.c | |
parent | a42bf191348f14f5adbd91e13705c8b5cd1a88b4 (diff) | |
download | ffmpeg-65935bc72926147b5f58a854c90cb8be164b1b53.tar.gz |
simplify format string for writing pix_fmt string.
Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |