ffmpeg | branch: release/4.3 | Michael Niedermayer <mich...@niedermayer.cc> | 
Tue Jan 28 12:51:58 2025 +0100| [486e46719e2ce8899b1d6c9d7acf9bab5470f05e] | 
committer: Michael Niedermayer

avformat/hls: Print input format in error message

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
(cherry picked from commit d8455331302c72cde2f0b72f255004a91189dd93)
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=486e46719e2ce8899b1d6c9d7acf9bab5470f05e
---

 libavformat/hls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index e94c4f9ae3..5057f4867e 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -739,7 +739,7 @@ static int test_segment(AVFormatContext *s, const 
AVInputFormat *in_fmt, struct
             matchF = 3;
 
         if (!(matchA & matchF)) {
-            av_log(s, AV_LOG_ERROR, "detected format extension %s mismatches 
allowed extensions in url %s\n", in_fmt->extensions ? in_fmt->extensions : 
"none", seg->url);
+            av_log(s, AV_LOG_ERROR, "detected format %s extension %s 
mismatches allowed extensions in url %s\n", in_fmt->name, in_fmt->extensions ? 
in_fmt->extensions : "none", seg->url);
             return AVERROR_INVALIDDATA;
         }
     }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to