From 18ac64235939c4c5c7656546a9545f68339affbe Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Fri, 29 Dec 2017 23:30:14 +0100 Subject: avformat: migrate to AVFormatContext->url Signed-off-by: Marton Balint --- libavformat/mlvdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mlvdec.c') diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 319cd26de4..d387c871ee 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -342,9 +342,9 @@ static int read_header(AVFormatContext *avctx) return ret; /* scan secondary files */ - if (strlen(avctx->filename) > 2) { + if (strlen(avctx->url) > 2) { int i; - char *filename = av_strdup(avctx->filename); + char *filename = av_strdup(avctx->url); if (!filename) return AVERROR(ENOMEM); -- cgit v1.2.3