ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Tue 
Jan 28 12:51:58 2025 +0100| [d8455331302c72cde2f0b72f255004a91189dd93] | 
committer: Michael Niedermayer

avformat/hls: Print input format in error message

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

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

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

diff --git a/libavformat/hls.c b/libavformat/hls.c
index 93f6d1f102..d2787ade46 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -758,7 +758,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