X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftls_securetransport.c;h=253c89c5ab29b63d1dccc36c0b9a8d4aa5c70939;hb=0efafc5849037046c3834769d6e20d33fae0c769;hp=482771a926dbf59cc867c500f5c6ab85178dcb3b;hpb=04747c5a73af4a83574dde878688d2f8406034b4;p=ffmpeg diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index 482771a926d..253c89c5ab2 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) @@ -387,7 +387,7 @@ static const AVClass tls_class = { .version = LIBAVUTIL_VERSION_INT, }; -URLProtocol ff_tls_securetransport_protocol = { +const URLProtocol ff_tls_securetransport_protocol = { .name = "tls", .url_open2 = tls_open, .url_read = tls_read,