changeset 775:dff358ec2041 libavutil

Add a newline in error message in CHECKED_ALLOC(Z).
author ramiro
date Fri, 04 Sep 2009 16:59:28 +0000
parents 1896cda0ecfc
children 0c82f8789664
files internal.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/internal.h	Tue Sep 01 16:00:45 2009 +0000
+++ b/internal.h	Fri Sep 04 16:59:28 2009 +0000
@@ -253,7 +253,7 @@
 {\
     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 @@
 {\
     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;\
     }\
 }