From: spartazhc <sparta...@gmail.com>

add ffabr protocol to the default_whitelist of http and https

Signed-off-by: spartazhc <sparta...@gmail.com>
---
 libavformat/http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 6c39da1a8b..88e69114a2 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1815,7 +1815,7 @@ const URLProtocol ff_http_protocol = {
     .priv_data_size      = sizeof(HTTPContext),
     .priv_data_class     = &http_context_class,
     .flags               = URL_PROTOCOL_FLAG_NETWORK,
-    .default_whitelist   = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,data"
+    .default_whitelist   = 
"http,https,tls,rtp,tcp,udp,crypto,httpproxy,data,ffabr"
 };
 #endif /* CONFIG_HTTP_PROTOCOL */
 
@@ -1835,7 +1835,7 @@ const URLProtocol ff_https_protocol = {
     .priv_data_size      = sizeof(HTTPContext),
     .priv_data_class     = &https_context_class,
     .flags               = URL_PROTOCOL_FLAG_NETWORK,
-    .default_whitelist   = "http,https,tls,rtp,tcp,udp,crypto,httpproxy"
+    .default_whitelist   = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,ffabr"
 };
 #endif /* CONFIG_HTTPS_PROTOCOL */
 
-- 
2.28.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to