History

avformat/hls: Add cmfv and cmfa to allowed_extensions

Michael Niedermayer committed 1 year ago

Commit 23521451 parent ab8e1601 file · +3 −1Browse files

Unified · Split

libavformat/hls.c+3−1
@@ -2767,7 +2767,9 @@ static const AVOption hls_options[] = { · 2766 unmodified lines
2767 OFFSET(prefer_x_start), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS},2767 OFFSET(prefer_x_start), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS},
2768 {"allowed_extensions", "List of file extensions that hls is allowed to access",2768 {"allowed_extensions", "List of file extensions that hls is allowed to access",
2769 OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,2769 OFFSET(allowed_extensions), AV_OPT_TYPE_STRING,
2770 {.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"},2770 {.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"
2771 ",cmfv,cmfa" // Ticket11526 www.nicovideo.jp
2772 },
2771 INT_MIN, INT_MAX, FLAGS},2773 INT_MIN, INT_MAX, FLAGS},
2772 {"extension_picky", "Be picky with all extensions matching",2774 {"extension_picky", "Be picky with all extensions matching",
2773 OFFSET(extension_picky), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS},2775 OFFSET(extension_picky), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS},

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t