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/async.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/async.c')
-rw-r--r-- | libavformat/async.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/async.c b/libavformat/async.c index a835292e05..0cc6fb0e27 100644 --- a/libavformat/async.c +++ b/libavformat/async.c @@ -251,7 +251,7 @@ static int async_open(URLContext *h, const char *arg, int flags, AVDictionary ** /* wrap interrupt callback */ c->interrupt_callback = h->interrupt_callback; - ret = ffurl_open_whitelist(&c->inner, arg, flags, &interrupt_callback, options, h->protocol_whitelist); + ret = ffurl_open_whitelist(&c->inner, arg, flags, &interrupt_callback, options, h->protocol_whitelist, h->protocol_blacklist); if (ret != 0) { av_log(h, AV_LOG_ERROR, "ffurl_open failed : %s, %s\n", av_err2str(ret), arg); goto url_fail; |