[FFmpeg-devel] [PATCH 04/10] lavf: add fs to default_whitelist when file present.

Nicolas George george at nsup.org
Tue Jul 27 17:48:07 EEST 2021


Signed-off-by: Nicolas George <george at nsup.org>
---
 libavformat/concat.c   | 2 +-
 libavformat/subfile.c  | 2 +-
 libavformat/teeproto.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/concat.c b/libavformat/concat.c
index aec1f52d8e..66ee792b20 100644
--- a/libavformat/concat.c
+++ b/libavformat/concat.c
@@ -200,7 +200,7 @@ const URLProtocol ff_concat_protocol = {
     .url_seek       = concat_seek,
     .url_close      = concat_close,
     .priv_data_size = sizeof(struct concat_data),
-    .default_whitelist = "concat,file,subfile",
+    .default_whitelist = "concat,file,fs,subfile",
 };
 #endif
 
diff --git a/libavformat/subfile.c b/libavformat/subfile.c
index 2936c79e06..7edd5b14f8 100644
--- a/libavformat/subfile.c
+++ b/libavformat/subfile.c
@@ -153,5 +153,5 @@ const URLProtocol ff_subfile_protocol = {
     .url_close           = subfile_close,
     .priv_data_size      = sizeof(SubfileContext),
     .priv_data_class     = &subfile_class,
-    .default_whitelist   = "file",
+    .default_whitelist   = "file,fs",
 };
diff --git a/libavformat/teeproto.c b/libavformat/teeproto.c
index e532bc7750..61981b8327 100644
--- a/libavformat/teeproto.c
+++ b/libavformat/teeproto.c
@@ -143,5 +143,5 @@ const URLProtocol ff_tee_protocol = {
     .url_close           = tee_close,
     .priv_data_size      = sizeof(TeeContext),
     .priv_data_class     = &tee_class,
-    .default_whitelist   = "crypto,file,http,https,httpproxy,rtmp,tcp,tls"
+    .default_whitelist   = "crypto,file,fs,http,https,httpproxy,rtmp,tcp,tls"
 };
-- 
2.30.2



More information about the ffmpeg-devel mailing list