avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -266,7 +266,7 @@ static int rtmpe_open(URLContext *h, const char *uri, int flags)
|
||||
/* open the tcp or ffrtmphttp connection */
|
||||
if ((ret = ffurl_open_whitelist(&rt->stream, url, AVIO_FLAG_READ_WRITE,
|
||||
&h->interrupt_callback, NULL,
|
||||
h->protocol_whitelist)) < 0) {
|
||||
h->protocol_whitelist, h->protocol_blacklist)) < 0) {
|
||||
rtmpe_close(h);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user