| 83 | } |
| 84 | |
| 85 | int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name, |
| 86 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
| 87 | { |
| 88 | AVFormatContext *s = NULL; |
| 89 | int ret; |
| 90 | |
| 91 | if ((ret = ff_alloc_input_device_context(&s, device, device_name)) < 0) |
| 92 | return ret; |
| 93 | return list_devices_for_context(s, device_options, device_list); |
| 94 | } |
| 95 | |
| 96 | int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name, |
| 97 | AVDictionary *device_options, AVDeviceInfoList **device_list) |
no test coverage detected