[FFmpeg-cvslog] Fix compilation on powerpc with --disable-altivec.

Carl Eugen Hoyos git
Fri Mar 4 20:32:07 CET 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Mar  4 20:30:40 2011 +0100| [7f1b1f3d7426332e2d9bb4cd828fec7f738704ce] | committer: Carl Eugen Hoyos

Fix compilation on powerpc with --disable-altivec.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f1b1f3d7426332e2d9bb4cd828fec7f738704ce
---

 libavcodec/fmtconvert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c
index e26b899..bf762cc 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);
 }




More information about the ffmpeg-cvslog mailing list