diff options
author | Romain Beauxis <romain.beauxis@nextstep.com> | 2022-03-22 14:39:52 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2022-04-09 21:29:39 +0200 |
commit | 2a44db59cac9af255bfb4a1351b5113b713afcb5 (patch) | |
tree | 7d576dbbc53868a94f4931acc89086b552321464 /libavdevice/dshow.c | |
parent | 7f534d022e719a2d98aa7f6ac17cf4fcca5d3779 (diff) | |
download | ffmpeg-2a44db59cac9af255bfb4a1351b5113b713afcb5.tar.gz |
avdevice/dshow: Fix dshow device name/description
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r-- | libavdevice/dshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index abb8325bc3..1e69620880 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -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; |