diff options
author | Luca Abeni <lucabe72@email.it> | 2007-11-19 07:39:55 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-11-19 07:39:55 +0000 |
commit | 7f0cd6a5293ff7608b3725f4dcc6ad141030cc4f (patch) | |
tree | b289f1ac414a6df7edc9795eee5494f287073900 | |
parent | e35033e6e33be017306fb9c84cd44326bb5f8d1f (diff) | |
download | ffmpeg-streaming-7f0cd6a5293ff7608b3725f4dcc6ad141030cc4f.zip ffmpeg-streaming-7f0cd6a5293ff7608b3725f4dcc6ad141030cc4f.tar.gz |
Remove perror() usage from libavutil
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 75a6e01..2ed5719 100644 --- 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;\ }\ } |