avformat/hls: Add cmfv and cmfa to allowed_extensions
Fixes: www.nicovideo.jp
Fixes: Ticket11526
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2352145e41)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
64911ffc20
commit
eb922deff1
1 changed files with 3 additions and 1 deletions
|
|
@ -2628,7 +2628,9 @@ static const AVOption hls_options[] = {
|
|||
OFFSET(prefer_x_start), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS},
|
||||
{"allowed_extensions", "List of file extensions that hls is allowed to access",
|
||||
OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,
|
||||
{.str = "3gp,aac,avi,ac3,eac3,flac,mkv,m3u8,m4a,m4s,m4v,mpg,mov,mp2,mp3,mp4,mpeg,mpegts,ogg,ogv,oga,ts,vob,wav"},
|
||||
{.str = "3gp,aac,avi,ac3,eac3,flac,mkv,m3u8,m4a,m4s,m4v,mpg,mov,mp2,mp3,mp4,mpeg,mpegts,ogg,ogv,oga,ts,vob,vtt,wav,webvtt"
|
||||
",cmfv,cmfa" // Ticket11526 www.nicovideo.jp
|
||||
},
|
||||
INT_MIN, INT_MAX, FLAGS},
|
||||
{"extension_picky", "Be picky with all extensions matching",
|
||||
OFFSET(extension_picky), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue