[FFmpeg-devel] [PATCH 2/4] avformat/hls: Point user to how to easily contribute a fix for missing extensions

Michael Niedermayer michael at niedermayer.cc
Sun Apr 6 14:16:29 EEST 2025


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/hls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index 26d9081260c..6ef1c122322 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -746,7 +746,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;
     }
 
-- 
2.49.0



More information about the ffmpeg-devel mailing list