aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2008-07-05 08:10:47 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-05 08:10:47 +0000
commitd7bd0b3dea1739a37cbf86d1e80e66a08246707a (patch)
tree75b2cd0a12f13d101aaa9cdd812243efb0247726 /libavutil/internal.h
parentbbdfa06d437a1cb8dd18169bc0c3db129aaa25d2 (diff)
downloadffmpeg-d7bd0b3dea1739a37cbf86d1e80e66a08246707a.tar.gz
Only define AltiVec vector syntax macro when AltiVec is enabled.
patch by Peter Ross, pross xvid org Originally committed as revision 14073 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 35589fa4f9..8bf57061ec 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -50,11 +50,13 @@
#endif
#endif
+#ifdef HAVE_ALTIVEC
#ifdef HAVE_ALTIVEC_VECTOR_BRACES
#define AVV(x...) {x}
#else
#define AVV(x...) (x)
#endif
+#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846