From d7e0d428faaa04e2fd850eca82f314ca2ad3dfe5 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 25 Feb 2021 02:54:18 +0100 Subject: avdevice/avdevice: Constify avdevice_list_input_sources/output_sinks Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- fftools/cmdutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fftools') diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 1db5e8cdd9..822fa8df45 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -2205,7 +2205,7 @@ double get_rotation(AVStream *st) } #if CONFIG_AVDEVICE -static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts) +static int print_device_sources(const AVInputFormat *fmt, AVDictionary *opts) { int ret, i; AVDeviceInfoList *device_list = NULL; @@ -2235,7 +2235,7 @@ static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts) return ret; } -static int print_device_sinks(AVOutputFormat *fmt, AVDictionary *opts) +static int print_device_sinks(const AVOutputFormat *fmt, AVDictionary *opts) { int ret, i; AVDeviceInfoList *device_list = NULL; -- cgit v1.2.3