[FFmpeg-cvslog] r16794 - trunk/libavutil/mem.c

diego subversion
Sun Jan 25 23:59:06 CET 2009


Author: diego
Date: Sun Jan 25 23:59:05 2009
New Revision: 16794

Log:
10l: Add #undefs for system free/malloc/realloc, which must be used here.

Modified:
   trunk/libavutil/mem.c

Modified: trunk/libavutil/mem.c
==============================================================================
--- trunk/libavutil/mem.c	Sun Jan 25 23:44:57 2009	(r16793)
+++ trunk/libavutil/mem.c	Sun Jan 25 23:59:05 2009	(r16794)
@@ -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 */




More information about the ffmpeg-cvslog mailing list