# HG changeset patch # User diego # Date 1232924345 0 # Node ID 097c9438d7f49810198bdfae913439f5933fa4c2 # Parent 51e8796fe8fc6ed9d36b3b7227483cd2e77ef8c5 10l: Add #undefs for system free/malloc/realloc, which must be used here. diff -r 51e8796fe8fc -r 097c9438d7f4 mem.c --- 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 */