]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/avdevice.h
avdevice/avdevice: Constify avdevice_list_input_sources/output_sinks
[ffmpeg] / libavdevice / avdevice.h
index 85a4dcc6df96f5e87694f9fae8b0b1d5ae069fae..d0b0f23f5dd34804f1accb1ede18f04fb42af6bc 100644 (file)
@@ -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);
 
 /**