diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-03 20:14:26 +0300 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-03-04 19:13:42 +0300 |
commit | 93629735d76c09405248c1f6b2b2c5517fff88fd (patch) | |
tree | 5542b9328b19547421d8532ff6d3345feb2d2c4f /libavformat/avio.h | |
parent | 500cb984710ccd66023f7dc1fa31548a0920e3e2 (diff) |
avformat: Add a protocol blacklisting API
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 7fbce32b6c..23214031f1 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -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 */ |