Remove perror() usage from libavutil
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e35033e6e3
commit
7f0cd6a529
@ -263,7 +263,7 @@ if((y)<(x)){\
|
|||||||
{\
|
{\
|
||||||
p= av_mallocz(size);\
|
p= av_mallocz(size);\
|
||||||
if(p==NULL && (size)!=0){\
|
if(p==NULL && (size)!=0){\
|
||||||
perror("malloc");\
|
av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\
|
||||||
goto fail;\
|
goto fail;\
|
||||||
}\
|
}\
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user