[FFmpeg-cvslog] fftools/cmdutils: Use %c, not %s, to write single char
Andreas Rheinhardt
git at videolan.org
Sat Sep 4 10:26:34 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Sep 1 08:35:30 2021 +0200| [70f06dd63c9967881c399662646cc593cc5920fb] | committer: Andreas Rheinhardt
fftools/cmdutils: Use %c, not %s, to write single char
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70f06dd63c9967881c399662646cc593cc5920fb
---
fftools/cmdutils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 519785f9be..9c14a60fdd 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -2236,7 +2236,7 @@ static int print_device_sources(const AVInputFormat *fmt, AVDictionary *opts)
}
for (i = 0; i < device_list->nb_devices; i++) {
- printf("%s %s [%s]\n", device_list->default_device == i ? "*" : " ",
+ printf("%c %s [%s]\n", device_list->default_device == i ? '*' : ' ',
device_list->devices[i]->device_name, device_list->devices[i]->device_description);
}
@@ -2260,7 +2260,7 @@ static int print_device_sinks(const AVOutputFormat *fmt, AVDictionary *opts)
}
for (i = 0; i < device_list->nb_devices; i++) {
- printf("%s %s [%s]\n", device_list->default_device == i ? "*" : " ",
+ printf("%c %s [%s]\n", device_list->default_device == i ? '*' : ' ',
device_list->devices[i]->device_name, device_list->devices[i]->device_description);
}
More information about the ffmpeg-cvslog
mailing list