Commit dc939fd5 authored by Michael Niedermayer's avatar Michael Niedermayer

fix CHECKED_ALLOCZ(0)

Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1e79606d
...@@ -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