mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 13:50:58 +00:00
simplify format string for writing pix_fmt string.
Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a42bf19134
commit
65935bc729
@ -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';
|
char is_alpha_char= info.is_alpha ? 'y' : 'n';
|
||||||
|
|
||||||
snprintf (buf, buf_size,
|
snprintf (buf, buf_size,
|
||||||
"%-11s" " %1d " " %2d " " %c ",
|
"%-11s %5d %9d %6c",
|
||||||
info.name,
|
info.name,
|
||||||
info.nb_channels,
|
info.nb_channels,
|
||||||
info.depth,
|
info.depth,
|
||||||
|
Loading…
Reference in New Issue
Block a user