10l: Add #undefs for system free/malloc/realloc, which must be used here.

Originally committed as revision 16794 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-01-25 22:59:05 +00:00
parent a1a84f693f
commit 1e60e93355
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@
#include "mem.h" #include "mem.h"
/* here we can use OS dependent allocation functions */
#undef free
#undef malloc
#undef realloc
/* 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
linker will do it automatically */ linker will do it automatically */