History

avformat/hls: remove non standard hls extension

Michael Niedermayer committed 3 years ago

Commit d09f50c1 parent 5b630741 file · +2 −2Browse files

Unified · Split

libavformat/hls.c+2−2
@@ -2546,8 +2546,8 @@ static int hls_probe(const AVProbeData *p) · 2545 unmodified lines
2546 2546
2547 if (!mime_ok &&2547 if (!mime_ok &&
2548 !mime_x &&2548 !mime_x &&
2549 !av_match_ext (p->filename, "m3u8,hls,m3u") &&2549 !av_match_ext (p->filename, "m3u8,m3u") &&
2550 ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {2550 ff_match_url_ext(p->filename, "m3u8,m3u") <= 0) {
2551 av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");2551 av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");
2552 return 0;2552 return 0;
2553 }2553 }

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