Skip to content

Commit 9dea077

Browse files
committed
avformat/hls: Print input format in error message
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit d845533) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
1 parent b753bac commit 9dea077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libavformat/hls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ static int test_segment(AVFormatContext *s, const AVInputFormat *in_fmt, struct
758758
matchF = 3;
759759

760760
if (!(matchA & matchF)) {
761-
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);
761+
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);
762762
return AVERROR_INVALIDDATA;
763763
}
764764
}

0 commit comments

Comments
 (0)