diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-01 15:46:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-05 11:55:01 +0200 |
commit | b36b703c29a6cad8c01ea5a5867a709791324eff (patch) | |
tree | de690c89c6d0946d1b225b2e47f8653f8a464082 /fftools | |
parent | 5312208f1274683610d1b677517b953603f48d2b (diff) | |
download | ffmpeg-b36b703c29a6cad8c01ea5a5867a709791324eff.tar.gz |
fftools/cmdutils: Use %c, not %s to write a single char
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/cmdutils.c | 6 |
1 files 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:" "); } |