From: Andreas Cadhalpun Date: Wed, 11 Nov 2015 00:16:09 +0000 (+0100) Subject: dds: add missing newline to log messages X-Git-Tag: v12_alpha1~1036 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=7b2211bfc4b0c4568180a8db2478023c42d9ff51 dds: add missing newline to log messages Signed-off-by: Andreas Cadhalpun --- diff --git a/libavcodec/dds.c b/libavcodec/dds.c index 219612480f..ea58da0877 100644 --- a/libavcodec/dds.c +++ b/libavcodec/dds.c @@ -599,14 +599,14 @@ static int dds_decode(AVCodecContext *avctx, void *data, bytestream2_init(gbc, avpkt->data, avpkt->size); if (bytestream2_get_bytes_left(gbc) < 128) { - av_log(avctx, AV_LOG_ERROR, "Frame is too small (%d).", + av_log(avctx, AV_LOG_ERROR, "Frame is too small (%d).\n", bytestream2_get_bytes_left(gbc)); return AVERROR_INVALIDDATA; } if (bytestream2_get_le32(gbc) != MKTAG('D', 'D', 'S', ' ') || bytestream2_get_le32(gbc) != 124) { // header size - av_log(avctx, AV_LOG_ERROR, "Invalid DDS header."); + av_log(avctx, AV_LOG_ERROR, "Invalid DDS header.\n"); return AVERROR_INVALIDDATA; }