diff options
author | Albert Lee <trisk+xine@acm.jhu.edu> | 2007-06-14 08:44:41 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-06-14 08:44:41 +0000 |
commit | ad0f6c1fcd37e2d3925609152a0095b46c9bab2c (patch) | |
tree | 0ba4b89ecc1f919ff6705167c1ea6cf39ea4b174 /libavcodec/mpegvideo.c | |
parent | 4931546e26bb90da40643ac7578f30eb068d91ff (diff) | |
download | ffmpeg-ad0f6c1fcd37e2d3925609152a0095b46c9bab2c.tar.gz |
Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu
Originally committed as revision 9307 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 8e4e4a2090..b8b2bb4d5c 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -277,25 +277,19 @@ int DCT_common_init(MpegEncContext *s) s->denoise_dct= denoise_dct_c; #endif //CONFIG_ENCODERS -#ifdef HAVE_MMX +#if defined(HAVE_MMX) MPV_common_init_mmx(s); -#endif -#ifdef ARCH_ALPHA +#elif defined(ARCH_ALPHA) MPV_common_init_axp(s); -#endif -#ifdef HAVE_MLIB +#elif defined(HAVE_MLIB) MPV_common_init_mlib(s); -#endif -#ifdef HAVE_MMI +#elif defined(HAVE_MMI) MPV_common_init_mmi(s); -#endif -#ifdef ARCH_ARMV4L +#elif defined(ARCH_ARMV4L) MPV_common_init_armv4l(s); -#endif -#ifdef ARCH_POWERPC +#elif defined(ARCH_POWERPC) MPV_common_init_ppc(s); -#endif -#ifdef ARCH_BFIN +#elif defined(ARCH_BFIN) MPV_common_init_bfin(s); #endif |