From 159683ddec69bb4faadfc53de8e1d357e1abbbad Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 4 Mar 2011 22:05:16 -0500 Subject: [PATCH] Fix compilation on powerpc with --disable-altivec. --- libavcodec/fmtconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c index e26b8997ab..bf762cc660 100644 --- a/libavcodec/fmtconvert.c +++ b/libavcodec/fmtconvert.c @@ -63,6 +63,6 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx) c->float_to_int16_interleave = float_to_int16_interleave_c; if (ARCH_ARM) ff_fmt_convert_init_arm(c, avctx); - if (ARCH_PPC) ff_fmt_convert_init_ppc(c, avctx); + if (HAVE_ALTIVEC) ff_fmt_convert_init_ppc(c, avctx); if (HAVE_MMX) ff_fmt_convert_init_x86(c, avctx); }