summaryrefslogtreecommitdiff
path: root/libavcodec/dds.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-11 00:37:32 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-11 21:49:51 +0100
commitedd0c1d78a89ed41f70ed6d7e2f189d8156a871c (patch)
tree891a84f528d363a875ea86e502d297dcb880d309 /libavcodec/dds.c
parent9a37d476440d9edaa26e6ed946d79cedde9d9e93 (diff)
downloadffmpeg-edd0c1d78a89ed41f70ed6d7e2f189d8156a871c.tar.gz
dds: add missing newline to log messages
Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/dds.c')
-rw-r--r--libavcodec/dds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dds.c b/libavcodec/dds.c
index c918cf0fa5..f04a4f5a6e 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;
}