openbsd-ports/multimedia/x264/patches/patch-common_cpu_c
kili 1c274146f6 Update to a newer snapshot.
From Brad (new maintainer).

"theoretically ok" ajacoutot@
2009-04-14 19:50:47 +00:00

17 lines
463 B
Plaintext

$OpenBSD: patch-common_cpu_c,v 1.4 2009/04/14 19:50:47 kili Exp $
--- common/cpu.c.orig Wed Feb 4 16:45:09 2009
+++ common/cpu.c Sun Apr 5 16:55:33 2009
@@ -214,10 +214,12 @@ uint32_t x264_cpu_detect( void )
size_t length = sizeof( has_altivec );
int error = sysctl( selectors, 2, &has_altivec, &length, NULL, 0 );
+#if 0
if( error == 0 && has_altivec != 0 )
{
cpu |= X264_CPU_ALTIVEC;
}
+#endif
return cpu;
}