From 4bb04098204afadc8604af0113294f8ecc63a2de Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Fri, 29 Dec 2017 23:29:52 +0100 Subject: avdevice: migrate to AVFormatContext->url Signed-off-by: Marton Balint --- libavdevice/fbdev_dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavdevice/fbdev_dec.c') diff --git a/libavdevice/fbdev_dec.c b/libavdevice/fbdev_dec.c index d9c75df202..6a51816868 100644 --- a/libavdevice/fbdev_dec.c +++ b/libavdevice/fbdev_dec.c @@ -78,8 +78,8 @@ static av_cold int fbdev_read_header(AVFormatContext *avctx) if (avctx->flags & AVFMT_FLAG_NONBLOCK) flags |= O_NONBLOCK; - if (avctx->filename[0]) - device = avctx->filename; + if (avctx->url[0]) + device = avctx->url; else device = ff_fbdev_default_device(); -- cgit v1.2.3