Commit efa98cdc authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/file: Add crypto to default whitelist

Fixes Ticket5287
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 068026b0
...@@ -345,7 +345,7 @@ const URLProtocol ff_file_protocol = { ...@@ -345,7 +345,7 @@ const URLProtocol ff_file_protocol = {
.url_open_dir = file_open_dir, .url_open_dir = file_open_dir,
.url_read_dir = file_read_dir, .url_read_dir = file_read_dir,
.url_close_dir = file_close_dir, .url_close_dir = file_close_dir,
.default_whitelist = "file" .default_whitelist = "file,crypto"
}; };
#endif /* CONFIG_FILE_PROTOCOL */ #endif /* CONFIG_FILE_PROTOCOL */
...@@ -384,7 +384,7 @@ const URLProtocol ff_pipe_protocol = { ...@@ -384,7 +384,7 @@ const URLProtocol ff_pipe_protocol = {
.url_check = file_check, .url_check = file_check,
.priv_data_size = sizeof(FileContext), .priv_data_size = sizeof(FileContext),
.priv_data_class = &pipe_class, .priv_data_class = &pipe_class,
.default_whitelist = "none" .default_whitelist = "crypto"
}; };
#endif /* CONFIG_PIPE_PROTOCOL */ #endif /* CONFIG_PIPE_PROTOCOL */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment