summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-09-24 11:18:59 +0800
committerSteven Liu <lq@chinaffmpeg.org>2020-01-18 22:41:11 +0800
commitb9606064c406a1e2a169590ff098c8edb7516bae (patch)
tree703cd6bce15f8669a2240562599459187c1c7f62 /libavformat/http.c
parent62a0d226212d5e0857c62effb1cb41e5f4af6707 (diff)
avformat/hls: support data protocol in uri for EXT-X-MAP
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
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 */