[FFmpeg-devel] [PATCH]lavf/http: Add httpproxy to the default protocol whitelist
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Mar 13 09:00:32 CET 2016
On Sunday 13 March 2016 08:56:22 am Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch may fix an issue reported on the user mailing list.
Second try attached.
Please review, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/http.c b/libavformat/http.c
index f18d9e2..814ca01 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1522,7 +1522,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"
+ .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy"
};
#endif /* CONFIG_HTTP_PROTOCOL */
@@ -1541,7 +1541,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"
+ .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy"
};
#endif /* CONFIG_HTTPS_PROTOCOL */
More information about the ffmpeg-devel
mailing list