summaryrefslogtreecommitdiff
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:29:52 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit4bb04098204afadc8604af0113294f8ecc63a2de (patch)
treed2dc31c31b76f9e61f503e465f4ab7bde9169f16 /libavdevice/dshow.c
parent25a2d269bdd919e633e202b67927c3c72f9f0dd5 (diff)
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index f2453e6114..de910c0994 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -1033,7 +1033,7 @@ static int parse_device_name(AVFormatContext *avctx)
{
struct dshow_ctx *ctx = avctx->priv_data;
char **device_name = ctx->device_name;
- char *name = av_strdup(avctx->filename);
+ char *name = av_strdup(avctx->url);
char *tmp = name;
int ret = 1;
char *type;