mirror of https://git.ffmpeg.org/ffmpeg.git
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);\
|
||||
if(p==NULL && (size)!=0){\
|
||||
perror("malloc");\
|
||||
av_log(NULL, AV_LOG_ERROR, "Cannot allocate memory.");\
|
||||
goto fail;\
|
||||
}\
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue