mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
avformat/file: Add crypto to default whitelist
Fixes Ticket5287
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit efa98cdc2f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -349,7 +349,7 @@ 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 */
|
||||
@@ -388,7 +388,7 @@ 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 */
|
||||
|
||||
Reference in New Issue
Block a user