ffmpeg/libavdevice
Marton Balint 64f04df379 avdevice/avdevice: fix return value of avdevice_list_devices()
According to API docs avdevice_list_devices(), avdevice_list_input_sources()
and avdevice_list_input_sinks() should return the number of autodetected
devices on success. This is redundant with AVDeviceInfoList->nb_devices so it
was not noticed earlier that none of the underlying device list functions work
like that.

Let's fix it in generic code to make it in line with the API docs.

Fixes ticket #9820.

Signed-off-by: Marton Balint <cus@passwd.hu>
2022-07-17 22:03:41 +02:00
..
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2022-01-04 17:40:54 +05:30
2021-04-27 11:48:05 -03:00
2022-03-15 09:42:33 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2022-03-16 14:05:26 +02:00
2022-07-13 00:29:05 +02:00