diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index e6b2ef97d1..1c032ee132 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -152,7 +152,7 @@ static int DCT_common_init(MpegEncContext *s) #elif defined(ARCH_ARMV4L) MPV_common_init_armv4l(s); #elif defined(HAVE_ALTIVEC) - MPV_common_init_ppc(s); + MPV_common_init_altivec(s); #elif defined(ARCH_BFIN) MPV_common_init_bfin(s); #endif diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 79dbc35b5c..2a1745c30b 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -606,7 +606,7 @@ POWERPC_PERF_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63); extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); -void MPV_common_init_ppc(MpegEncContext *s) +void MPV_common_init_altivec(MpegEncContext *s) { if (s->avctx->lowres==0) {