diff --git a/libavformat/hls.c b/libavformat/hls.c index dce8a5ceb1..2d8e6c0a6a 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -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:"))