aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tls_securetransport.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/tls_securetransport.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/tls_securetransport.c')
-rw-r--r--libavformat/tls_securetransport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c
index a26b9694cd..253c89c5ab 100644
--- a/libavformat/tls_securetransport.c
+++ b/libavformat/tls_securetransport.c
@@ -83,7 +83,7 @@ static int import_pem(URLContext *h, char *path, CFArrayRef *array)
if ((ret = ffio_open_whitelist(&s, path, AVIO_FLAG_READ,
&h->interrupt_callback, NULL,
- h->protocol_whitelist)) < 0)
+ h->protocol_whitelist, h->protocol_blacklist)) < 0)
goto end;
if ((ret = avio_size(s)) < 0)