X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdshow.c;h=de910c09943440475d23e3c13f5f0b693b09324a;hb=ac6e27d74f6a413d400c228b0eb2d3af32c1ea76;hp=f2453e611447706daff93bbfdca42deb2fbd8301;hpb=5e4923b411b9b77b306d8e9247afb4b2f04f1a8f;p=ffmpeg diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index f2453e61144..de910c09943 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;