From 1e60e933556a335dda598caed673e29480492d30 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 25 Jan 2009 22:59:05 +0000 Subject: 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 --- libavutil/mem.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavutil') diff --git a/libavutil/mem.c b/libavutil/mem.c index 5413010680..251b1fadab 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -35,6 +35,11 @@ #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 memory allocator. You do not need to suppress this file because the linker will do it automatically */ -- cgit v1.2.3