summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-16 14:39:19 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-16 14:39:19 +0000
commitfb1a18c3c57d6249150b0f2b8720695f6c8202b6 (patch)
treeb0687c0a594cf2e5e30a8f6b0474ee4dbb77a0c9 /audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
parent- Update to version 1.0b1 (diff)
- Update to version 0.1.3
PR: ports/64339 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=104167
Diffstat (limited to 'audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c')
-rw-r--r--audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c b/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
new file mode 100644
index 000000000000..a0b3a7962d31
--- /dev/null
+++ b/audio/xmms-wma/files/patch-ffmpeg-strip-wma::mem.c
@@ -0,0 +1,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