mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avdevice/dshow: Fix dshow device name/description
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
7f534d022e
commit
2a44db59ca
@ -552,8 +552,8 @@ dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum,
|
||||
if (!device)
|
||||
goto fail;
|
||||
|
||||
device->device_name = av_strdup(friendly_name);
|
||||
device->device_description = av_strdup(unique_name);
|
||||
device->device_name = av_strdup(unique_name);
|
||||
device->device_description = av_strdup(friendly_name);
|
||||
if (!device->device_name || !device->device_description)
|
||||
goto fail;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user