diff libmpeg2/motion_comp.c @ 26046:b65b71ba0e16

Properly detect ARM mc acceleration.
author diego
date Sat, 23 Feb 2008 19:29:28 +0000
parents 316732ab2b41
children 79ab4ecba54a
line wrap: on
line diff
--- a/libmpeg2/motion_comp.c	Sat Feb 23 14:50:55 2008 +0000
+++ b/libmpeg2/motion_comp.c	Sat Feb 23 19:29:28 2008 +0000
@@ -68,9 +68,9 @@
     else
 #endif
 #ifdef ARCH_ARM
-    if (1 /*accel & MPEG2_ACCEL_ARM*/) {
+    if (accel & MPEG2_ACCEL_ARM) {
 #ifdef HAVE_IWMMXT
-	if (1 /*accel & MPEG2_ACCEL_ARM_IWMMXT*/)
+	if (accel & MPEG2_ACCEL_ARM_IWMMXT)
 	    mpeg2_mc = mpeg2_mc_iwmmxt;
 	else
 #endif