From e7febd6184e2fe0bb77968c90c3417e6188955e6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 26 Jan 2018 00:30:38 +0100 Subject: [PATCH] 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. --- stream/stream_lavf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,