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 ESMTP id 625A247F74 for ; Wed, 6 Mar 2024 08:03:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6964868CBD2; Wed, 6 Mar 2024 10:03:00 +0200 (EET) Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 87F6D68CB35 for ; Wed, 6 Mar 2024 10:02:54 +0200 (EET) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=TzbpONCe; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id A60CA4D26 for ; Wed, 6 Mar 2024 09:02:53 +0100 (CET) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id aunW_jS3F7TZ for ; Wed, 6 Mar 2024 09:02:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1709712172; bh=rZQOkDiYya8MOWkyla5ucfIaFtfeYn63UI2bGZsTldE=; h=From:To:Subject:Date:From; b=TzbpONCeyddeQVqw5P+sBwmMZzcAHH61HagbuMbrs0DwtQO2Uar5j+YcL+41EBuGc EHXKSYUG1yE+mHeJzrGluYn26H1+KHYcG31l+CWtcq95Dbg7YtutQ3pTU+291ggrWm P2NGhvUzB3gSXoSUSZcEuTW61Jhi5ovIMWcSILmN+ryj0t6hbelq5Ar6fTHHHiKDKx na5Ic7He9c01zl3mDLCUnORYTa6nZ+BAEesVQd3yns77TZ2UGUJu23TLrW7Hdin3gN VkBVNRGAGgYjcbFt+2hdGstAXekZzBeGvMi5ytxYbC+n/aNBJnnBnMsHdGC3utLHP1 u+7i4YUHlUUdA== Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail1.khirnov.net (Postfix) with ESMTPS id 6796D4482 for ; Wed, 6 Mar 2024 09:02:52 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 39E013A0357 for ; Wed, 6 Mar 2024 09:02:52 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 6 Mar 2024 09:02:50 +0100 Message-ID: <20240306080250.5120-1-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavf/matroskadec: add missing linebreaks in error messages 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: --- libavformat/matroskadec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 5d3d18a146..6d6a60c552 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2036,7 +2036,7 @@ static int matroska_parse_content_encodings(MatroskaTrackEncoding *encodings, { if (nb_encodings > 1) { av_log(logctx, AV_LOG_ERROR, - "Multiple combined encodings not supported"); + "Multiple combined encodings not supported\n"); return 0; } if (!nb_encodings) @@ -2055,7 +2055,7 @@ static int matroska_parse_content_encodings(MatroskaTrackEncoding *encodings, encodings->encryption.key_id.size); } else { encodings->scope = 0; - av_log(logctx, AV_LOG_ERROR, "Unsupported encoding type"); + av_log(logctx, AV_LOG_ERROR, "Unsupported encoding type\n"); } } else if ( #if CONFIG_ZLIB @@ -2067,7 +2067,7 @@ static int matroska_parse_content_encodings(MatroskaTrackEncoding *encodings, encodings->compression.algo != MATROSKA_TRACK_ENCODING_COMP_LZO && encodings->compression.algo != MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP) { encodings->scope = 0; - av_log(logctx, AV_LOG_ERROR, "Unsupported encoding type"); + av_log(logctx, AV_LOG_ERROR, "Unsupported encoding type\n"); } else if (track->codec_priv.size && encodings[0].scope & 2) { uint8_t *codec_priv = track->codec_priv.data; int ret = matroska_decode_buffer(&track->codec_priv.data, -- 2.43.0 _______________________________________________ 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".