From fe3fed0b143ef6bf2d9b65ce05d55aba4224429e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 30 Jan 2016 02:17:51 +0100 Subject: Update demuxers and protocols for protocol whitelist support Reviewed-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- libavformat/tls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavformat/tls.c') diff --git a/libavformat/tls.c b/libavformat/tls.c index 9802a70d3a..c625983660 100644 --- a/libavformat/tls.c +++ b/libavformat/tls.c @@ -104,6 +104,7 @@ int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AV proxy_port, "/%s", dest); } - return ffurl_open(&c->tcp, buf, AVIO_FLAG_READ_WRITE, - &parent->interrupt_callback, options); + return ffurl_open_whitelist(&c->tcp, buf, AVIO_FLAG_READ_WRITE, + &parent->interrupt_callback, options, + parent->protocol_whitelist); } -- cgit v1.2.3