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:
e35033e
)
Remove perror() usage from libavutil
author
Luca Abeni
<lucabe72@email.it>
Mon, 19 Nov 2007 07:39:55 +0000
(07:39 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Mon, 19 Nov 2007 07:39:55 +0000
(07:39 +0000)
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/internal.h
patch
|
blob
|
history
diff --git
a/libavutil/internal.h
b/libavutil/internal.h
index
75a6e01
..
2ed5719
100644
(file)
--- a/
libavutil/internal.h
+++ b/
libavutil/internal.h
@@
-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;\
}\
}