diff postproc/swscale_internal.h @ 13564:992960f68af0

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>)
author michael
date Tue, 05 Oct 2004 19:11:00 +0000
parents 6bd869a18d2c
children e85e3894520f
line wrap: on
line diff
--- a/postproc/swscale_internal.h	Tue Oct 05 14:05:17 2004 +0000
+++ b/postproc/swscale_internal.h	Tue Oct 05 19:11:00 2004 +0000
@@ -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 )