diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-09-24 11:18:59 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2020-01-18 22:41:11 +0800 |
commit | b9606064c406a1e2a169590ff098c8edb7516bae (patch) | |
tree | 703cd6bce15f8669a2240562599459187c1c7f62 /libavformat/file.c | |
parent | 62a0d226212d5e0857c62effb1cb41e5f4af6707 (diff) | |
download | ffmpeg-b9606064c406a1e2a169590ff098c8edb7516bae.tar.gz |
avformat/hls: support data protocol in uri for EXT-X-MAP
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/file.c')
-rw-r--r-- | libavformat/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/file.c b/libavformat/file.c index 08c7f8e6dd..8303436be0 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -369,7 +369,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,crypto" + .default_whitelist = "file,crypto,data" }; #endif /* CONFIG_FILE_PROTOCOL */ @@ -408,7 +408,7 @@ const URLProtocol ff_pipe_protocol = { .url_check = file_check, .priv_data_size = sizeof(FileContext), .priv_data_class = &pipe_class, - .default_whitelist = "crypto" + .default_whitelist = "crypto,data" }; #endif /* CONFIG_PIPE_PROTOCOL */ |