simplify format string for writing pix_fmt string.

Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Justin Ruggles 15 years ago
parent a42bf19134
commit 65935bc729
  1. 2
      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,

Loading…
Cancel
Save