1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-07 23:51:49 +00:00

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.
This commit is contained in:
wm4 2018-01-26 00:30:38 +01:00 committed by Kevin Mitchell
parent 5441a12a1e
commit e7febd6184

View File

@ -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,