diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 75a6e01..2ed5719 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -263,7 +263,7 @@ if((y)<(x)){\ {\ p= av_mallocz(size);\ if(p==NULL && (size)!=0){\ - perror("malloc");\ + av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\ goto fail;\ }\ } |