Mercurial > mplayer.hg
diff libmpeg2/cpu_state.c @ 26282:79ab4ecba54a
Revert local changes that pointlessly add #ifdefs all over libmpeg2 to disable
code depending on CPU capabilities. Instead, rely on libmpeg2's builtin CPU
capability handling.
author | diego |
---|---|
date | Tue, 01 Apr 2008 17:31:37 +0000 |
parents | 11181df06389 |
children | 4bc81fcf14bb |
line wrap: on
line diff
--- a/libmpeg2/cpu_state.c Tue Apr 01 15:24:53 2008 +0000 +++ b/libmpeg2/cpu_state.c Tue Apr 01 17:31:37 2008 +0000 @@ -124,7 +124,7 @@ mpeg2_cpu_state_restore = state_restore_mmx; } #endif -#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC) +#ifdef ARCH_PPC if (accel & MPEG2_ACCEL_PPC_ALTIVEC) { mpeg2_cpu_state_save = state_save_altivec; mpeg2_cpu_state_restore = state_restore_altivec;