Commit 5ce6934e authored by Ramiro Polla's avatar Ramiro Polla

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

Originally committed as revision 19758 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 315fa33f
...@@ -253,7 +253,7 @@ if ((y) < (x)) {\ ...@@ -253,7 +253,7 @@ if ((y) < (x)) {\
{\ {\
p = av_malloc(size);\ p = av_malloc(size);\
if (p == NULL && (size) != 0) {\ 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;\ goto fail;\
}\ }\
} }
...@@ -262,7 +262,7 @@ if ((y) < (x)) {\ ...@@ -262,7 +262,7 @@ if ((y) < (x)) {\
{\ {\
p = av_mallocz(size);\ p = av_mallocz(size);\
if (p == NULL && (size) != 0) {\ 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;\ goto fail;\
}\ }\
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment