diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-15 21:39:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-22 02:49:58 +0200 |
commit | d09f50c0f5f045dec35f0ca22c2212fae2378dba (patch) | |
tree | 9a3642f49dae73a5a1c3d5b28b70caf231911d0f /libavformat | |
parent | 5b630743c625669b7c6ee4a01d4e0e8b51d7e636 (diff) | |
download | ffmpeg-d09f50c0f5f045dec35f0ca22c2212fae2378dba.tar.gz |
avformat/hls: remove non standard hls extension
Suggested-by: Kacper Michajlow <kasper93@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index 2bc142510e..4fff4405e8 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -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; } |