fix CHECKED_ALLOCZ(0)

Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-06-28 22:51:42 +00:00
parent 1e79606dd6
commit dc939fd588

View File

@ -1129,7 +1129,7 @@ if(256*256*256*64%(tcount+tskip_count)==0){\
#define CHECKED_ALLOCZ(p, size)\
{\
p= av_mallocz(size);\
if(p==NULL){\
if(p==NULL && (size)!=0){\
perror("malloc");\
goto fail;\
}\