From 5ce6934e0acc1cea724481c1aebe0466fefeeda5 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Fri, 4 Sep 2009 16:59:28 +0000 Subject: Add a newline in error message in CHECKED_ALLOC(Z). Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil') diff --git a/libavutil/internal.h b/libavutil/internal.h index 14ea95b182..1353399b92 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -253,7 +253,7 @@ if ((y) < (x)) {\ {\ p = av_malloc(size);\ if (p == NULL && (size) != 0) {\ - av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\ + av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.\n");\ goto fail;\ }\ } @@ -262,7 +262,7 @@ if ((y) < (x)) {\ {\ p = av_mallocz(size);\ if (p == NULL && (size) != 0) {\ - av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\ + av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.\n");\ goto fail;\ }\ } -- cgit v1.2.3