From 384a207ea90b88af2e2126fbc22e683c2b5c0e08 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 6 Mar 2024 08:57:35 +0100 Subject: [PATCH] lavf/matroskadec: add missing linebreaks in error messages --- libavformat/matroskadec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index d91bce5635..a35ca6ca5b 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,