From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 651B148D1C for ; Tue, 28 Jan 2025 14:24:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8836B68A9D3; Tue, 28 Jan 2025 16:24:29 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1082B689D6E for ; Tue, 28 Jan 2025 16:24:23 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 726B02000F for ; Tue, 28 Jan 2025 14:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1738074262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=E58zVtVnJE1z3aw9+Hn3FU5Y6REP6SDcI6uuLHzDP7w=; b=pLoyqkRf9gqfccV78uwlPmnwPT3um8WSfeCex1ugdow0RtuFVEGMbi8l8y5J6vRBSJf4YW s0OWwLdsxrUAI93zmT4fhXpytyzHHWOMZCWWFRo0aVerGmUpL0DQdwbuKbHOdejEpOrcTS NQquGEzuGe8+Zk/5b9tSsQk27M0HgoPL22+RmCShAscofDkUrS31uNXYRsPwmj1d93xh9q KNEBQ/UIKvNrH7nUZvczWL5KLEhGRJn67mmBJdA9XHr/c49vD89xblvzBcRnc+BnTe3JY5 GO3XZyFXCxRN/yFRRZX4aaB86TwkZ9Zt7gqU4bm+Dw4VvZVxrlASm0MsqNE8Sg== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 28 Jan 2025 15:24:20 +0100 Message-ID: <20250128142421.337241-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 1/2] avformat/hls: Print input format in error message X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 93f6d1f1021..d2787ade46b 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; } } -- 2.48.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".