diff options
author | Måns Rullgård <mans@mansr.com> | 2009-10-04 13:13:06 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-10-04 13:13:06 +0000 |
commit | f67e0b824f03d4a372ff602cf8c12761c9dcb444 (patch) | |
tree | b7aa08db4d23f1fee8c1b138cab11ad30f1312a3 /libavcodec/arm/dsputil_init_arm.c | |
parent | 701c618f7dac12e14a70a390c62cfeb71e33bab2 (diff) | |
download | ffmpeg-f67e0b824f03d4a372ff602cf8c12761c9dcb444.tar.gz |
ARM: replace some #if with if()
Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_init_arm.c')
-rw-r--r-- | libavcodec/arm/dsputil_init_arm.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/libavcodec/arm/dsputil_init_arm.c b/libavcodec/arm/dsputil_init_arm.c index c9fc12c146..4147d48826 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); } |