summaryrefslogtreecommitdiff
path: root/libavformat/icecast.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-03-03 17:14:26 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-03-04 16:13:42 +0000
commit93629735d76c09405248c1f6b2b2c5517fff88fd (patch)
tree5542b9328b19547421d8532ff6d3345feb2d2c4f /libavformat/icecast.c
parent500cb984710ccd66023f7dc1fa31548a0920e3e2 (diff)
downloadffmpeg-93629735d76c09405248c1f6b2b2c5517fff88fd.tar.gz
avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/icecast.c')
-rw-r--r--libavformat/icecast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/icecast.c b/libavformat/icecast.c
index e5f1a95379..f7ca5cb30c 100644
--- a/libavformat/icecast.c
+++ b/libavformat/icecast.c
@@ -165,7 +165,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags)
ff_url_join(h_url, sizeof(h_url), "http", auth, host, port, "%s", path);
// Finally open http proto handler
ret = ffurl_open_whitelist(&s->hd, h_url, AVIO_FLAG_READ_WRITE, NULL,
- &opt_dict, h->protocol_whitelist);
+ &opt_dict, h->protocol_whitelist, h->protocol_blacklist);
cleanup:
av_freep(&user);