diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-05 19:11:00 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-05 19:11:00 +0000 |
commit | fe4f5a43369f5316f71beda73b4cd331ed9c2e28 (patch) | |
tree | 58fa746fe37926e379ee32df6e4be8fca6b69312 /postproc/swscale_internal.h | |
parent | eaa1bc9e8a00d366f7b39038e6cfee722c232cac (diff) | |
download | mpv-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.h | 6 |
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 ) |