pkgsrc-wip/mplayer-snapshot-share/patches/patch-ae
2010-09-11 13:29:39 +00:00

16 lines
433 B
Text

$NetBSD: patch-ae,v 1.2 2010/09/11 13:29:40 cheusov Exp $
--- libvo/aclib.c.orig 2010-01-03 09:20:01.000000000 +0000
+++ libvo/aclib.c
@@ -30,6 +30,11 @@
#include "libavutil/x86_cpu.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 :)