[FFmpeg-cvslog] dds: add missing newline to log messages

Andreas Cadhalpun git at videolan.org
Wed Nov 11 21:56:47 CET 2015


ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Wed Nov 11 00:37:32 2015 +0100| [edd0c1d78a89ed41f70ed6d7e2f189d8156a871c] | committer: Andreas Cadhalpun

dds: add missing newline to log messages

Reviewed-by: Vittorio Giovara <vittorio.giovara at gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=edd0c1d78a89ed41f70ed6d7e2f189d8156a871c
---

 libavcodec/dds.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dds.c b/libavcodec/dds.c
index c918cf0..f04a4f5 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;
     }
 



More information about the ffmpeg-cvslog mailing list