summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_internal.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-05 19:11:00 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-05 19:11:00 +0000
commitfe4f5a43369f5316f71beda73b4cd331ed9c2e28 (patch)
tree58fa746fe37926e379ee32df6e4be8fca6b69312 /postproc/swscale_internal.h
parenteaa1bc9e8a00d366f7b39038e6cfee722c232cac (diff)
downloadmpv-fe4f5a43369f5316f71beda73b4cd331ed9c2e28.tar.bz2
mpv-fe4f5a43369f5316f71beda73b4cd331ed9c2e28.tar.xz
postproc/yuv2rgb_altivec.c compile fix
yuv2rgb_altivec_init_tables does initialize the SwsContext vectors. missing vec_splat. patch by (Luca Barbato <lu_zero at gentoo dot org>) and (Romain Dolbeau <dolbeau at irisa dot fr>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13565 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r--postproc/swscale_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index 0013129b5a..a224446568 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -23,6 +23,12 @@
#include <altivec.h>
#endif
+#ifdef CONFIG_DARWIN
+#define AVV(x...) (x)
+#else
+#define AVV(x...) {x}
+#endif
+
#include "../mp_msg.h"
#define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args )