mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue