summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2018-04-26 16:17:15 +0800
committerSteven Liu <lq@chinaffmpeg.org>2018-04-26 16:19:30 +0800
commit798ae8794e84b7837cbdc4c9d7943569015ddff4 (patch)
treeed6b6bc43ac2f6d860ade9763949cb147cf58623 /libavformat
parent8ea8be595166cdae73bf3f8bee2f28bc94f1c988 (diff)
downloadffmpeg-streaming-798ae8794e84b7837cbdc4c9d7943569015ddff4.zip
ffmpeg-streaming-798ae8794e84b7837cbdc4c9d7943569015ddff4.tar.gz
avformat/dashdec: fix compling warning "filename is deprecated"
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index c90bc51..42202e0 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -1403,7 +1403,7 @@ static int refresh_manifest(AVFormatContext *s)
c->videos = NULL;
c->n_audios = 0;
c->audios = NULL;
- ret = parse_manifest(s, s->filename, NULL);
+ ret = parse_manifest(s, s->url, NULL);
if (ret)
goto finish;
@@ -1759,7 +1759,7 @@ static int nested_io_open(AVFormatContext *s, AVIOContext **pb, const char *url,
av_log(s, AV_LOG_ERROR,
"A DASH playlist item '%s' referred to an external file '%s'. "
"Opening this file was forbidden for security reasons\n",
- s->filename, url);
+ s->url, url);
return AVERROR(EPERM);
}
@@ -1930,7 +1930,7 @@ static int dash_read_header(AVFormatContext *s)
update_options(&c->headers, "headers", u);
}
- if ((ret = parse_manifest(s, s->filename, s->pb)) < 0)
+ if ((ret = parse_manifest(s, s->url, s->pb)) < 0)
goto fail;
if ((ret = save_avio_options(s)) < 0)
OpenPOWER on IntegriCloud