[FFmpeg-cvslog] r19758 - trunk/libavutil/internal.h

ramiro subversion
Fri Sep 4 18:59:28 CEST 2009


Author: ramiro
Date: Fri Sep  4 18:59:28 2009
New Revision: 19758

Log:
Add a newline in error message in CHECKED_ALLOC(Z).

Modified:
   trunk/libavutil/internal.h

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Fri Sep  4 18:32:06 2009	(r19757)
+++ trunk/libavutil/internal.h	Fri Sep  4 18:59:28 2009	(r19758)
@@ -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;\
     }\
 }



More information about the ffmpeg-cvslog mailing list