summaryrefslogtreecommitdiff
path: root/libavformat/hls.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 22:00:04 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit45ec2e44be911da073b02ae3a14e3cb08ce0a1f5 (patch)
tree96637835921c077fa48bd04e95cd919f7c5c2981 /libavformat/hls.c
parent4bb04098204afadc8604af0113294f8ecc63a2de (diff)
avformat/hls: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 02e764f932..ba7eb94121 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1682,7 +1682,7 @@ static int nested_io_open(AVFormatContext *s, AVIOContext **pb, const char *url,
av_log(s, AV_LOG_ERROR,
"A HLS 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);
}
@@ -1820,7 +1820,7 @@ static int hls_read_header(AVFormatContext *s)
update_options(&c->http_proxy, "http_proxy", u);
}
- if ((ret = parse_playlist(c, s->filename, NULL, s->pb)) < 0)
+ if ((ret = parse_playlist(c, s->url, NULL, s->pb)) < 0)
goto fail;
if ((ret = save_avio_options(s)) < 0)