projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e79606
)
fix CHECKED_ALLOCZ(0)
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 28 Jun 2003 22:51:42 +0000
(22:51 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 28 Jun 2003 22:51:42 +0000
(22:51 +0000)
Originally committed as revision 1993 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/common.h
patch
|
blob
|
history
diff --git
a/libavcodec/common.h
b/libavcodec/common.h
index
bbbc613
..
ed1ba4e
100644
(file)
--- a/
libavcodec/common.h
+++ b/
libavcodec/common.h
@@
-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;\
}\