Commit 1e60e933 authored by Diego Biurrun's avatar Diego Biurrun

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
parent a1a84f69
...@@ -35,6 +35,11 @@ ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment