Revision 49fb20cb libavcodec/ppc/dsputil_ppc.c

View differences:

libavcodec/ppc/dsputil_ppc.c
262 262
    }
263 263

  
264 264
#if HAVE_ALTIVEC
265
    if(ENABLE_H264_DECODER) dsputil_h264_init_ppc(c, avctx);
265
    if(CONFIG_H264_DECODER) dsputil_h264_init_ppc(c, avctx);
266 266

  
267 267
    if (has_altivec()) {
268 268
        mm_flags |= FF_MM_ALTIVEC;
269 269

  
270 270
        dsputil_init_altivec(c, avctx);
271
        if(ENABLE_SNOW_DECODER) snow_init_altivec(c, avctx);
272
        if(ENABLE_VC1_DECODER || ENABLE_WMV3_DECODER)
271
        if(CONFIG_SNOW_DECODER) snow_init_altivec(c, avctx);
272
        if(CONFIG_VC1_DECODER || CONFIG_WMV3_DECODER)
273 273
            vc1dsp_init_altivec(c, avctx);
274 274
        float_init_altivec(c, avctx);
275 275
        int_init_altivec(c, avctx);

Also available in: Unified diff