summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-01-26 00:30:38 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-01-25 20:18:32 -0800
commite7febd6184e2fe0bb77968c90c3417e6188955e6 (patch)
treeb71db878bff380f553cc0b6c583a1216f73ff671
parent5441a12a1ea9fe617c987df475865dc3f2abb237 (diff)
downloadmpv-e7febd6184e2fe0bb77968c90c3417e6188955e6.tar.bz2
mpv-e7febd6184e2fe0bb77968c90c3417e6188955e6.tar.xz
stream_lavf: remove deprecated hls protocol from whitelist
The use of the FFmpeg hls protocol (as opposed to demuxer) is "discouraged", and probably only causes additional potential security problems at best, so drop it.
-rw-r--r--stream/stream_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c
index 82d9b3a392..09866ff74f 100644
--- a/stream/stream_lavf.c
+++ b/stream/stream_lavf.c
@@ -404,7 +404,7 @@ const stream_info_t stream_info_ffmpeg = {
.open = open_f,
.protocols = (const char *const[]){
"rtmp", "rtsp", "http", "https", "mms", "mmst", "mmsh", "mmshttp", "rtp",
- "httpproxy", "hls", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts", "srtp",
+ "httpproxy", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts", "srtp",
"data",
NULL },
.can_write = true,