mirror of https://github.com/mpv-player/mpv
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:
parent
5441a12a1e
commit
e7febd6184
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue