comparison libxvidff.c @ 8590:7a463923ecd1 libavcodec

Change semantic of CONFIG_*, HAVE_* and ARCH_*. They are now always defined to either 0 or 1.
author aurel
date Tue, 13 Jan 2009 23:44:16 +0000
parents 19e2f1a50aa7
children a637db9f59b1
comparison
equal deleted inserted replaced
8589:a29b5b5c3c9d 8590:7a463923ecd1
164 164
165 memset(&xvid_gbl_init, 0, sizeof(xvid_gbl_init)); 165 memset(&xvid_gbl_init, 0, sizeof(xvid_gbl_init));
166 xvid_gbl_init.version = XVID_VERSION; 166 xvid_gbl_init.version = XVID_VERSION;
167 xvid_gbl_init.debug = 0; 167 xvid_gbl_init.debug = 0;
168 168
169 #ifdef ARCH_PPC 169 #if ARCH_PPC
170 /* Xvid's PPC support is borked, use libavcodec to detect */ 170 /* Xvid's PPC support is borked, use libavcodec to detect */
171 #ifdef HAVE_ALTIVEC 171 #if HAVE_ALTIVEC
172 if( has_altivec() ) { 172 if( has_altivec() ) {
173 xvid_gbl_init.cpu_flags = XVID_CPU_FORCE | XVID_CPU_ALTIVEC; 173 xvid_gbl_init.cpu_flags = XVID_CPU_FORCE | XVID_CPU_ALTIVEC;
174 } else 174 } else
175 #endif 175 #endif
176 xvid_gbl_init.cpu_flags = XVID_CPU_FORCE; 176 xvid_gbl_init.cpu_flags = XVID_CPU_FORCE;