avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ static int gopher_open(URLContext *h, const char *uri, int flags)
|
||||
|
||||
s->hd = NULL;
|
||||
err = ffurl_open_whitelist(&s->hd, buf, AVIO_FLAG_READ_WRITE,
|
||||
&h->interrupt_callback, NULL, h->protocol_whitelist);
|
||||
&h->interrupt_callback, NULL, h->protocol_whitelist, h->protocol_blacklist);
|
||||
if (err < 0)
|
||||
goto fail;
|
||||
|
||||
|
Reference in New Issue
Block a user