comparison libswscale/swscale.c @ 30912:f91ad62a2281

AltiVec implies a PPC CPU, so there is no need to check for both.
author diego
date Tue, 23 Mar 2010 22:59:14 +0000
parents f08d81b195fa
children 0be6ed163321
comparison
equal deleted inserted replaced
30911:4790fe65b11a 30912:f91ad62a2281
1260 sws_init_swScale_C(c); 1260 sws_init_swScale_C(c);
1261 return swScale_C; 1261 return swScale_C;
1262 } 1262 }
1263 1263
1264 #else 1264 #else
1265 #if ARCH_PPC && defined(COMPILE_ALTIVEC) 1265 #ifdef COMPILE_ALTIVEC
1266 if (flags & SWS_CPU_CAPS_ALTIVEC) { 1266 if (flags & SWS_CPU_CAPS_ALTIVEC) {
1267 sws_init_swScale_altivec(c); 1267 sws_init_swScale_altivec(c);
1268 return swScale_altivec; 1268 return swScale_altivec;
1269 } else { 1269 } else {
1270 sws_init_swScale_C(c); 1270 sws_init_swScale_C(c);