Mercurial > libavcodec.hg
changeset 6343:870714b0f293 libavcodec
Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
author | diego |
---|---|
date | Sat, 09 Feb 2008 17:55:07 +0000 |
parents | 644cc66607b2 |
children | b98dde3f56a0 |
files | libxvidff.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libxvidff.c Sat Feb 09 17:26:40 2008 +0000 +++ b/libxvidff.c Sat Feb 09 17:55:07 2008 +0000 @@ -38,7 +38,7 @@ #define BUFFER_CAT(x) (&((x)[strlen(x)])) /* For PPC Use */ -#if HAVE_ALTIVEC==1 +#ifdef HAVE_ALTIVEC extern int has_altivec(void); #endif @@ -169,7 +169,7 @@ #ifdef ARCH_POWERPC /* XviD's PPC support is borked, use libavcodec to detect */ -#if HAVE_ALTIVEC==1 +#ifdef HAVE_ALTIVEC if( has_altivec() ) { xvid_gbl_init.cpu_flags = XVID_CPU_FORCE | XVID_CPU_ALTIVEC; } else