aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorRomain Beauxis <romain.beauxis@nextstep.com>2022-03-22 14:39:52 +0100
committerMarton Balint <cus@passwd.hu>2022-04-09 21:29:39 +0200
commit2a44db59cac9af255bfb4a1351b5113b713afcb5 (patch)
tree7d576dbbc53868a94f4931acc89086b552321464 /libavdevice/dshow.c
parent7f534d022e719a2d98aa7f6ac17cf4fcca5d3779 (diff)
downloadffmpeg-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.c4
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;