From f67e0b824f03d4a372ff602cf8c12761c9dcb444 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 4 Oct 2009 13:13:06 +0000
Subject: [PATCH] ARM: replace some #if with if()

Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/arm/dsputil_init_arm.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/libavcodec/arm/dsputil_init_arm.c b/libavcodec/arm/dsputil_init_arm.c
index c9fc12c146f..4147d488267 100644
--- a/libavcodec/arm/dsputil_init_arm.c
+++ b/libavcodec/arm/dsputil_init_arm.c
@@ -117,14 +117,7 @@ void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx)
 
     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);
 }
-- 
GitLab