ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Wed Sep 1 15:46:09 2021 +0200| [b36b703c29a6cad8c01ea5a5867a709791324eff] | committer: Andreas Rheinhardt
fftools/cmdutils: Use %c, not %s to write a single char Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b36b703c29a6cad8c01ea5a5867a709791324eff --- fftools/cmdutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 9c14a60fdd..ac172dbd65 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -1345,9 +1345,9 @@ static int show_formats_devices(void *optctx, const char *opt, const char *arg, break; last_name = name; - printf(" %s%s %-15s %s\n", - decode ? "D" : " ", - encode ? "E" : " ", + printf(" %c%c %-15s %s\n", + decode ? 'D' : ' ', + encode ? 'E' : ' ', name, long_name ? long_name:" "); } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
