aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 02:54:18 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:14 -0300
commitd7e0d428faaa04e2fd850eca82f314ca2ad3dfe5 (patch)
treea79b58b6655ca6cd1a4bd7350fb4b6b6b1c0afec /fftools
parent46dac8cf3d250184ab4247809bc03f60e14f4c0c (diff)
downloadffmpeg-d7e0d428faaa04e2fd850eca82f314ca2ad3dfe5.tar.gz
avdevice/avdevice: Constify avdevice_list_input_sources/output_sinks
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/cmdutils.c4
1 files changed, 2 insertions, 2 deletions
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;