Revision 5ce6934e libavutil/internal.h

View differences:

libavutil/internal.h
253 253
{\
254 254
    p = av_malloc(size);\
255 255
    if (p == NULL && (size) != 0) {\
256
        av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\
256
        av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.\n");\
257 257
        goto fail;\
258 258
    }\
259 259
}
......
262 262
{\
263 263
    p = av_mallocz(size);\
264 264
    if (p == NULL && (size) != 0) {\
265
        av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\
265
        av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.\n");\
266 266
        goto fail;\
267 267
    }\
268 268
}

Also available in: Unified diff