[FFmpeg-devel] [PATCH] [GSoC v3 2/7] avformat/http: Add ffabr to whitelist
Hongcheng Zhong
sj.hc_Zhong at sjtu.edu.cn
Sun Aug 23 15:23:50 EEST 2020
From: spartazhc <spartazhc at gmail.com>
add ffabr protocol to the default_whitelist of http and https
Signed-off-by: spartazhc <spartazhc at 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
More information about the ffmpeg-devel
mailing list