[SCM] libav/experimental: Add a newline in error message in CHECKED_ALLOC(Z).
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:50:42 UTC 2013
The following commit has been merged in the experimental branch:
commit 5ce6934e0acc1cea724481c1aebe0466fefeeda5
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date: Fri Sep 4 16:59:28 2009 +0000
Add a newline in error message in CHECKED_ALLOC(Z).
Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 14ea95b..1353399 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;\
}\
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list