summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
blob: a0b3a7962d31792ad532ca9d0a95447c82971202 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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