[FFmpeg-devel] [RFC][GSoC][PATCH v1 2/6] avformat/http: Add abr to whitelist

Hongcheng Zhong sj.hc_Zhong at sjtu.edu.cn
Wed Jul 15 11:37:29 EEST 2020


From: spartazhc <spartazhc at gmail.com>

add abr protocol to http's whitelist

Signed-off-by: spartazhc <spartazhc at gmail.com>
---
 libavformat/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/http.c b/libavformat/http.c
index 6c39da1a8b..b77517ff51 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 */
 
-- 
2.27.0



More information about the ffmpeg-devel mailing list