From 9a197a24c634e4c0c4f02826f988c0ab8d0129c8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 3 Dec 2003 22:23:08 +0000 Subject: [PATCH] altivec.h bug workaround (untested) Originally committed as revision 2559 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index c386f87b21..79b6c59c70 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -381,7 +381,9 @@ void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx); extern int mm_flags; #if defined(HAVE_ALTIVEC) && !defined(CONFIG_DARWIN) +#define pixel altivec_pixel #include +#undef pixel #endif #define __align8 __attribute__ ((aligned (16)))