aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-12-03 22:23:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-03 22:23:08 +0000
commit9a197a24c634e4c0c4f02826f988c0ab8d0129c8 (patch)
treef1f3902d27a832dedd7194cdb2a1659fe12f6a04
parent554daa2402bb52e8fd5dee14ef49b5043eda0fe6 (diff)
downloadffmpeg-9a197a24c634e4c0c4f02826f988c0ab8d0129c8.tar.gz
altivec.h bug workaround (untested)
Originally committed as revision 2559 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dsputil.h2
1 files changed, 2 insertions, 0 deletions
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 <altivec.h>
+#undef pixel
#endif
#define __align8 __attribute__ ((aligned (16)))