gst/ffmpegcolorspace/mem.c: malloc() is in stdlib.h, not malloc.h

Original commit message from CVS:
* gst/ffmpegcolorspace/mem.c:  malloc() is in stdlib.h, not malloc.h
This commit is contained in:
David Schleef 2004-05-25 18:38:39 +00:00
parent 2e050e0378
commit 7e27333a2b
2 changed files with 5 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2004-05-25 David Schleef <ds@schleef.org>
* gst/ffmpegcolorspace/mem.c: malloc() is in stdlib.h, not malloc.h
2004-05-24 Benjamin Otte <otte@gnome.org> 2004-05-24 Benjamin Otte <otte@gnome.org>
* ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_sinkconnect), * ext/vorbis/oggvorbisenc.c: (gst_oggvorbisenc_sinkconnect),

View File

@ -28,14 +28,7 @@
#include "avcodec.h" #include "avcodec.h"
/* here we can use OS dependant allocation functions */ #include <stdlib.h>
#undef malloc
#undef free
#undef realloc
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
/* you can redefine av_malloc and av_free in your project to use your /* you can redefine av_malloc and av_free in your project to use your
memory allocator. You do not need to suppress this file because the memory allocator. You do not need to suppress this file because the