freebsd-ports/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
Kirill Ponomarev fb1a18c3c5 - Update to version 0.1.3
PR:		ports/64339
Submitted by:	maintainer
2004-03-16 14:39:19 +00:00

24 lines
600 B
C

--- ffmpeg-strip-wma/mem.c Thu Mar 6 14:32:02 2003
+++ ffmpeg-strip-wma/mem.c Thu Mar 11 18:36:40 2004
@@ -29,9 +29,9 @@
#undef free
#undef realloc
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
+#include <stdlib.h>
+
+#undef HAVE_MEMALIGN
/* 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
@@ -47,7 +47,7 @@
void *ptr;
#if defined (HAVE_MEMALIGN)
- ptr = memalign(16,size);
+ ptr = memalign(16, size);
/* Why 64?
Indeed, we should align it:
on 4 for 386