mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
Revert "avformat/hls: Require the file extension to be m3u / m3u8 for probing to succeed"
This can cause problems with urls that have arguments after the filename
This reverts commit b0c57206d5
.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bdd8e02b72
commit
af24b1c0cd
@ -1984,9 +1984,6 @@ static int hls_probe(AVProbeData *p)
|
||||
if (strncmp(p->buf, "#EXTM3U", 7))
|
||||
return 0;
|
||||
|
||||
if (p->filename && *p->filename && !av_match_ext(p->filename, "m3u8,m3u"))
|
||||
return 0;
|
||||
|
||||
if (strstr(p->buf, "#EXT-X-STREAM-INF:") ||
|
||||
strstr(p->buf, "#EXT-X-TARGETDURATION:") ||
|
||||
strstr(p->buf, "#EXT-X-MEDIA-SEQUENCE:"))
|
||||
|
Loading…
Reference in New Issue
Block a user