diff options
Diffstat (limited to 'libavformat/crypto.c')
-rw-r--r-- | libavformat/crypto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/crypto.c b/libavformat/crypto.c index f56ee4eb17..b1871fe974 100644 --- a/libavformat/crypto.c +++ b/libavformat/crypto.c @@ -136,8 +136,9 @@ static int crypto_open2(URLContext *h, const char *uri, int flags, AVDictionary goto err; } - if ((ret = ffurl_open(&c->hd, nested_url, flags, - &h->interrupt_callback, options)) < 0) { + if ((ret = ffurl_open_whitelist(&c->hd, nested_url, flags, + &h->interrupt_callback, options, + h->protocol_whitelist)) < 0) { av_log(h, AV_LOG_ERROR, "Unable to open resource: %s\n", nested_url); goto err; } |