Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-01 16:46:09 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-05 12:55:01 +0300
commitb36b703c29a6cad8c01ea5a5867a709791324eff (patch)
treede690c89c6d0946d1b225b2e47f8653f8a464082 /fftools/cmdutils.c
parent5312208f1274683610d1b677517b953603f48d2b (diff)
fftools/cmdutils: Use %c, not %s to write a single char
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r--fftools/cmdutils.c6
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:" ");
}