aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-03-04 20:30:40 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-03-04 20:30:40 +0100
commit7f1b1f3d7426332e2d9bb4cd828fec7f738704ce (patch)
tree219d2e63e1da7fb078b881df72fcc57416e29357 /libavcodec
parent08c866345cfe15cd17406e93c54a52068e41eb9e (diff)
downloadffmpeg-7f1b1f3d7426332e2d9bb4cd828fec7f738704ce.tar.gz
Fix compilation on powerpc with --disable-altivec.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/fmtconvert.c2
1 files changed, 1 insertions, 1 deletions
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);
}