From b9606064c406a1e2a169590ff098c8edb7516bae Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Tue, 24 Sep 2019 11:18:59 +0800 Subject: avformat/hls: support data protocol in uri for EXT-X-MAP Signed-off-by: Steven Liu --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/http.c') diff --git a/libavformat/http.c b/libavformat/http.c index 85cbd06092..142511d091 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1791,7 +1791,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" + .default_whitelist = "http,https,tls,rtp,tcp,udp,crypto,httpproxy,data" }; #endif /* CONFIG_HTTP_PROTOCOL */ -- cgit v1.2.1