changeset 629:097c9438d7f4 libavutil

10l: Add #undefs for system free/malloc/realloc, which must be used here.
author diego
date Sun, 25 Jan 2009 22:59:05 +0000
parents 51e8796fe8fc
children fb04e2fc189c
files mem.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mem.c	Sun Jan 25 22:40:43 2009 +0000
+++ b/mem.c	Sun Jan 25 22:59:05 2009 +0000
@@ -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 */