summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mem.c5
1 files changed, 5 insertions, 0 deletions
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 */