From b4fb08035e6c731345879bca2edff4293a0e7e14 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 3 Oct 2007 13:49:51 +0000 Subject: [PATCH] Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file that is only compiled when AltiVec is enabled. Originally committed as revision 10651 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index c2c8f13..e6b2ef9 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -151,7 +151,7 @@ static int DCT_common_init(MpegEncContext *s) MPV_common_init_mmi(s); #elif defined(ARCH_ARMV4L) MPV_common_init_armv4l(s); -#elif defined(ARCH_POWERPC) +#elif defined(HAVE_ALTIVEC) MPV_common_init_ppc(s); #elif defined(ARCH_BFIN) MPV_common_init_bfin(s); -- 2.7.4