aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-03-19 18:37:53 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-19 18:56:59 +0100
commitefa98cdc2ff17a2f3b0ceb69e22864fd5bc433db (patch)
treef79cabf866748f352cea7964678b72670d04e509 /libavformat/file.c
parent068026b0f7845e0f1850094d974f60d181480d64 (diff)
downloadffmpeg-efa98cdc2ff17a2f3b0ceb69e22864fd5bc433db.tar.gz
avformat/file: Add crypto to default whitelist
Fixes Ticket5287 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 0c16b49f51..f37db1a88d 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -345,7 +345,7 @@ const URLProtocol ff_file_protocol = {
.url_open_dir = file_open_dir,
.url_read_dir = file_read_dir,
.url_close_dir = file_close_dir,
- .default_whitelist = "file"
+ .default_whitelist = "file,crypto"
};
#endif /* CONFIG_FILE_PROTOCOL */
@@ -384,7 +384,7 @@ const URLProtocol ff_pipe_protocol = {
.url_check = file_check,
.priv_data_size = sizeof(FileContext),
.priv_data_class = &pipe_class,
- .default_whitelist = "none"
+ .default_whitelist = "crypto"
};
#endif /* CONFIG_PIPE_PROTOCOL */