[SCM] libav/experimental: ARM: replace some #if with if()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:52:34 UTC 2013


The following commit has been merged in the experimental branch:
commit f67e0b824f03d4a372ff602cf8c12761c9dcb444
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Oct 4 13:13:06 2009 +0000

    ARM: replace some #if with if()
    
    Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/arm/dsputil_init_arm.c b/libavcodec/arm/dsputil_init_arm.c
index c9fc12c..4147d48 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);
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list