Mercurial > libavcodec.hg
diff mpegvideo.c @ 5140:9d4ca30481e0 libavcodec
Simplify init preprocessor statements.
patch by Albert Lee, trisk+xine acm.jhu edu
author | diego |
---|---|
date | Thu, 14 Jun 2007 08:44:41 +0000 |
parents | a3b82ca01e68 |
children | b3fd384aaa28 |
line wrap: on
line diff
--- a/mpegvideo.c Thu Jun 14 07:28:16 2007 +0000 +++ b/mpegvideo.c Thu Jun 14 08:44:41 2007 +0000 @@ -277,25 +277,19 @@ 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