avformat: Add a protocol blacklisting API

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis
2016-03-03 17:14:26 +00:00
parent 500cb98471
commit 93629735d7
42 changed files with 116 additions and 64 deletions

View File

@@ -254,6 +254,11 @@ typedef struct AVIOContext {
* ',' separated list of allowed protocols.
*/
const char *protocol_whitelist;
/**
* ',' separated list of disallowed protocols.
*/
const char *protocol_blacklist;
} AVIOContext;
/* unbuffered I/O */