From f62a9a46e1932592c9cb419897ab414a3c8e7f02 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 3 Oct 2007 14:01:42 +0000 Subject: [PATCH] Rename MPV_common_init_ppc to MPV_common_init_altivec, the function is AltiVec-specific now. Originally committed as revision 10652 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- libavcodec/ppc/mpegvideo_altivec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {