mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-04 14:22:12 +00:00
fix CHECKED_ALLOCZ(0)
Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1e79606dd6
commit
dc939fd588
@ -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;\
|
||||
}\
|
||||
|
Loading…
Reference in New Issue
Block a user