avdevice: migrate to AVFormatContext->url

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2017-12-29 23:29:52 +01:00
parent 25a2d269bd
commit 4bb0409820
31 changed files with 59 additions and 57 deletions

View File

@@ -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();