mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avdevice: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user