aboutsummaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorRamiro Polla2009-09-04 16:59:28 +0000
committerRamiro Polla2009-09-04 16:59:28 +0000
commit5ce6934e0acc1cea724481c1aebe0466fefeeda5 (patch)
treec7a81317dcd3682b33852546c7b21ec73f59a9a5 /libavutil/internal.h
parent315fa33f29266b44ba3738a2017ab84accb79178 (diff)
Add a newline in error message in CHECKED_ALLOC(Z).
Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 2 insertions, 2 deletions
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;\
}\
}