summaryrefslogtreecommitdiff
path: root/libavdevice/avdevice.h
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 /libavdevice/avdevice.h
parent46dac8cf3d250184ab4247809bc03f60e14f4c0c (diff)
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 'libavdevice/avdevice.h')
-rw-r--r--libavdevice/avdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index 85a4dcc6df..d0b0f23f5d 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -507,9 +507,9 @@ void avdevice_free_list_devices(AVDeviceInfoList **device_list);
* @return count of autodetected devices, negative on error.
* @note device argument takes precedence over device_name when both are set.
*/
-int avdevice_list_input_sources(struct AVInputFormat *device, const char *device_name,
+int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name,
AVDictionary *device_options, AVDeviceInfoList **device_list);
-int avdevice_list_output_sinks(struct AVOutputFormat *device, const char *device_name,
+int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name,
AVDictionary *device_options, AVDeviceInfoList **device_list);
/**