[SCM] libav/experimental: Fix compilation with AltiVec disabled, MPV_common_init_ppc is part of a file that is only compiled when AltiVec is enabled.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:07:49 UTC 2013
The following commit has been merged in the experimental branch:
commit b4fb08035e6c731345879bca2edff4293a0e7e14
Author: Diego Biurrun <diego at biurrun.de>
Date: Wed Oct 3 13:49:51 2007 +0000
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
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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list