summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-ae
blob: 34add8a7e617aa9aaac7d066837512b053a1883a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ae,v 1.13 2012/06/11 21:55:34 wiz Exp $

XXX: OS X support

--- libvo/aclib.c.orig	2011-11-07 19:54:49.000000000 +0000
+++ libvo/aclib.c
@@ -29,6 +29,11 @@
 #include "fastmemcpy.h"
 #undef memcpy
 
+#if ARCH_X86 && defined(__APPLE__)
+#undef ARCH_X86
+#define ARCH_X86 0
+#endif
+
 #define BLOCK_SIZE 4096
 #define CONFUSION_FACTOR 0
 //Feel free to fine-tune the above 2, it might be possible to get some speedup with them :)