changeset 10361:a1cc263fba25 libavcodec

ARM: replace some #if with if()
author mru
date Sun, 04 Oct 2009 13:13:06 +0000
parents b72bb442a775
children 838b42ccd65e
files arm/dsputil_init_arm.c
diffstat 1 files changed, 3 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/arm/dsputil_init_arm.c	Sun Oct 04 13:13:02 2009 +0000
+++ b/arm/dsputil_init_arm.c	Sun Oct 04 13:13:06 2009 +0000
@@ -117,14 +117,7 @@
 
     if (HAVE_ARMV5TE) ff_dsputil_init_armv5te(c, avctx);
     if (HAVE_ARMV6)   ff_dsputil_init_armv6(c, avctx);
-
-#if HAVE_IWMMXT
-    dsputil_init_iwmmxt(c, avctx);
-#endif
-#if HAVE_ARMVFP
-    ff_dsputil_init_vfp(c, avctx);
-#endif
-#if HAVE_NEON
-    ff_dsputil_init_neon(c, avctx);
-#endif
+    if (HAVE_IWMMXT)  dsputil_init_iwmmxt(c, avctx);
+    if (HAVE_ARMVFP)  ff_dsputil_init_vfp(c, avctx);
+    if (HAVE_NEON)    ff_dsputil_init_neon(c, avctx);
 }