aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorDiego Biurrun2007-10-03 13:49:51 +0000
committerDiego Biurrun2007-10-03 13:49:51 +0000
commitb4fb08035e6c731345879bca2edff4293a0e7e14 (patch)
treece3b9e985b8d448e36d7843f0cc759ce9b965c79 /libavcodec/mpegvideo.c
parent9dceaa923e04dacf6968203ce83cbbe0e3b16dbd (diff)
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
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index c2c8f13d4d..e6b2ef97d1 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);