diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-10-05 19:11:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-05 19:11:00 +0000 |
commit | 582552fb56ba6559cb1d094a7e7ae5dde3073c5c (patch) | |
tree | ee586b06993556f6b2a12c039a6f613e67cded88 /postproc/swscale_internal.h | |
parent | 693390099320a7a11d4c217f15877bcc9365d033 (diff) | |
download | ffmpeg-582552fb56ba6559cb1d094a7e7ae5dde3073c5c.tar.gz |
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>)
Originally committed as revision 13565 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
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 ) |