mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-18 12:56:56 +00:00
avformat/hls: remove non standard hls extension
Suggested-by: Kacper Michajlow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5b630743c6
commit
d09f50c0f5
@ -2546,8 +2546,8 @@ static int hls_probe(const AVProbeData *p)
|
||||
|
||||
if (!mime_ok &&
|
||||
!mime_x &&
|
||||
!av_match_ext (p->filename, "m3u8,hls,m3u") &&
|
||||
ff_match_url_ext(p->filename, "m3u8,hls,m3u") <= 0) {
|
||||
!av_match_ext (p->filename, "m3u8,m3u") &&
|
||||
ff_match_url_ext(p->filename, "m3u8,m3u") <= 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Not detecting m3u8/hls with non standard extension and non standard mime type\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user