Commit e4cc31f2 authored by michaelni's avatar michaelni

fix CHECKED_ALLOCZ(0)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1993 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 65b1eea2
...@@ -1129,7 +1129,7 @@ if(256*256*256*64%(tcount+tskip_count)==0){\ ...@@ -1129,7 +1129,7 @@ if(256*256*256*64%(tcount+tskip_count)==0){\
#define CHECKED_ALLOCZ(p, size)\ #define CHECKED_ALLOCZ(p, size)\
{\ {\
p= av_mallocz(size);\ p= av_mallocz(size);\
if(p==NULL){\ if(p==NULL && (size)!=0){\
perror("malloc");\ perror("malloc");\
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