mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fftools/cmdutils: Use %c, not %s, to write single char
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
23b83adb6d
commit
70f06dd63c
@ -2236,7 +2236,7 @@ static int print_device_sources(const AVInputFormat *fmt, AVDictionary *opts)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < device_list->nb_devices; i++) {
|
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);
|
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++) {
|
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);
|
device_list->devices[i]->device_name, device_list->devices[i]->device_description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user