summaryrefslogtreecommitdiff
path: root/libavcodec/dds.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-11 01:16:09 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-11-12 04:39:14 +0100
commit7b2211bfc4b0c4568180a8db2478023c42d9ff51 (patch)
treef1672c0b0f64498700028a9a7f474b2705df9c7a /libavcodec/dds.c
parent29b17528612c8b0f66e6982ab48cc0816e41f36f (diff)
dds: add missing newline to log messages
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 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;
}