Showing the changes to libavdevice (2 of 4 files). Show all
Unified · Split
| @@ -120,7 +120,7 @@ static int list_devices_for_context(AVFormatContext *s, AVDictionary *options, · 119 unmodified lines | |||
| 120 | return ret; | 120 | return ret; |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | int avdevice_list_input_sources(AVInputFormat *device, const char *device_name, | 123 | int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name, |
| 124 | AVDictionary *device_options, AVDeviceInfoList **device_list) | 124 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
| 125 | { | 125 | { |
| 126 | AVFormatContext *s = NULL; | 126 | AVFormatContext *s = NULL; |
| @@ -131,7 +131,7 @@ int avdevice_list_input_sources(AVInputFormat *device, const char *device_name, · 4 unmodified lines | |||
| 131 | return list_devices_for_context(s, device_options, device_list); | 131 | return list_devices_for_context(s, device_options, device_list); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | int avdevice_list_output_sinks(AVOutputFormat *device, const char *device_name, | 134 | int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name, |
| 135 | AVDictionary *device_options, AVDeviceInfoList **device_list) | 135 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
| 136 | { | 136 | { |
| 137 | AVFormatContext *s = NULL; | 137 | AVFormatContext *s = NULL; |
| @@ -507,9 +507,9 @@ void avdevice_free_list_devices(AVDeviceInfoList **device_list); · 506 unmodified lines | |||
| 507 | * @return count of autodetected devices, negative on error. | 507 | * @return count of autodetected devices, negative on error. |
| 508 | * @note device argument takes precedence over device_name when both are set. | 508 | * @note device argument takes precedence over device_name when both are set. |
| 509 | */ | 509 | */ |
| 510 | int avdevice_list_input_sources(struct AVInputFormat *device, const char *device_name, | 510 | int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name, |
| 511 | AVDictionary *device_options, AVDeviceInfoList **device_list); | 511 | AVDictionary *device_options, AVDeviceInfoList **device_list); |
| 512 | int avdevice_list_output_sinks(struct AVOutputFormat *device, const char *device_name, | 512 | int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name, |
| 513 | AVDictionary *device_options, AVDeviceInfoList **device_list); | 513 | AVDictionary *device_options, AVDeviceInfoList **device_list); |
| 514 | 514 | ||
| 515 | /** | 515 | /** |