diff options
Diffstat (limited to 'libavdevice/fbdev_dec.c')
-rw-r--r-- | libavdevice/fbdev_dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |