diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-03 17:14:26 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-04 16:13:42 +0000 |
commit | 93629735d76c09405248c1f6b2b2c5517fff88fd (patch) | |
tree | 5542b9328b19547421d8532ff6d3345feb2d2c4f /libavformat/hlsproto.c | |
parent | 500cb984710ccd66023f7dc1fa31548a0920e3e2 (diff) | |
download | ffmpeg-93629735d76c09405248c1f6b2b2c5517fff88fd.tar.gz |
avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/hlsproto.c')
-rw-r--r-- | libavformat/hlsproto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hlsproto.c b/libavformat/hlsproto.c index 1f2e63dff2..097e5203c3 100644 --- a/libavformat/hlsproto.c +++ b/libavformat/hlsproto.c @@ -119,7 +119,7 @@ static int parse_playlist(URLContext *h, const char *url) if ((ret = ffio_open_whitelist(&in, url, AVIO_FLAG_READ, &h->interrupt_callback, NULL, - h->protocol_whitelist)) < 0) + h->protocol_whitelist, h->protocol_blacklist)) < 0) return ret; read_chomp_line(in, line, sizeof(line)); @@ -307,7 +307,7 @@ retry: av_log(h, AV_LOG_DEBUG, "opening %s\n", url); ret = ffurl_open_whitelist(&s->seg_hd, url, AVIO_FLAG_READ, &h->interrupt_callback, NULL, - h->protocol_whitelist); + h->protocol_whitelist, h->protocol_blacklist); if (ret < 0) { if (ff_check_interrupt(&h->interrupt_callback)) return AVERROR_EXIT; |