diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index 49807fb9eb..edfad438ca 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -41,6 +41,7 @@ extern void ff_snow_inner_add_yblock_altivec(uint8_t *obmc, int add, uint8_t * dst8); void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); +void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); #endif @@ -251,10 +252,6 @@ long check_dcbzl_effect(void) } #endif -#ifdef HAVE_ALTIVEC -void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); -#endif - void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) { // Common optimizations whether Altivec is available or not