From 0da6ddfc0135df970f2fca2d110aea78ce73e92c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 6 Apr 2025 12:31:19 +0200 Subject: [PATCH] avformat/hls: Point user to how to easily contribute a fix for missing extensions Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 679161b390..bb09344481 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -745,7 +745,7 @@ static int test_segment(AVFormatContext *s, const AVInputFormat *in_fmt, struct + 2*(ff_match_url_ext(seg->url, c->allowed_extensions) > 0); if (!matchA) { - av_log(s, AV_LOG_ERROR, "URL %s is not in allowed_extensions\n", seg->url); + av_log(s, AV_LOG_ERROR, "URL %s is not in allowed_extensions, consider updating hls.c and submitting a patch to ffmpeg-devel, if this should be added\n", seg->url); return AVERROR_INVALIDDATA; }