summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c')
-rw-r--r--multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c b/multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c
new file mode 100644
index 00000000000..05f7a75f7e2
--- /dev/null
+++ b/multimedia/xine-lib/patches/patch-src-post-deinterlace-plugins-greedy2frame.c
@@ -0,0 +1,21 @@
+$NetBSD: patch-src-post-deinterlace-plugins-greedy2frame.c,v 1.1 2012/08/15 18:34:36 jdc Exp $
+
+--- src/post/deinterlace/plugins/greedy2frame.c.orig 2012-05-26 21:49:59.000000000 +0100
++++ src/post/deinterlace/plugins/greedy2frame.c 2012-08-15 08:08:27.000000000 +0100
+@@ -59,6 +59,8 @@
+ int bottom_field, int second_field, int width, int height )
+
+ {
++#if defined(ARCH_X86) || defined(ARCH_X86_64)
++
+ if (xine_mm_accel() & MM_ACCEL_X86_SSE2) {
+ if (((uintptr_t)output & 15) || (outstride & 15) ||
+ width & 7 ||
+@@ -82,6 +84,7 @@
+ bottom_field, second_field, width, height );
+ /* could fall back to 3dnow/mmx here too */
+ }
++#endif /*ARCH_X86 */
+ }
+
+