Revision 33a0421b

View differences:

libswscale/swscale.c
1211 1211
    } else if (flags & SWS_CPU_CAPS_MMX) {
1212 1212
        sws_init_swScale_MMX(c);
1213 1213
        return swScale_MMX;
1214
    } else {
1215
        return swScale_c;
1216 1214
    }
1217 1215

  
1218 1216
#else
......
1220 1218
    if (flags & SWS_CPU_CAPS_ALTIVEC) {
1221 1219
        sws_init_swScale_altivec(c);
1222 1220
        return swScale_altivec;
1223
    } else {
1224
        return swScale_c;
1225 1221
    }
1226 1222
#endif
1227
    return swScale_c;
1228 1223
#endif /* ARCH_X86 */
1229 1224
#else //CONFIG_RUNTIME_CPUDETECT
1230 1225
#if   COMPILE_TEMPLATE_MMX2
......
1239 1234
#elif COMPILE_TEMPLATE_ALTIVEC
1240 1235
    sws_init_swScale_altivec(c);
1241 1236
    return swScale_altivec;
1242
#else
1243
    return swScale_c;
1244 1237
#endif
1245 1238
#endif //!CONFIG_RUNTIME_CPUDETECT
1239

  
1240
    return swScale_c;
1246 1241
}
1247 1242

  
1248 1243
static void copyPlane(const uint8_t *src, int srcStride,

Also available in: Unified diff