From 6465c977b75fc1d9fa8ef7237f6e8dfe99d201b0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 24 Aug 2007 15:04:14 +0000 Subject: [PATCH] Move Apple gcc AltiVec vector declaration syntax to libavutil. Originally committed as revision 24143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale_altivec_template.c | 6 ------ libswscale/swscale_internal.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/libswscale/swscale_altivec_template.c b/libswscale/swscale_altivec_template.c index fcbf581ba..3706fc886 100644 --- a/libswscale/swscale_altivec_template.c +++ b/libswscale/swscale_altivec_template.c @@ -21,12 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef SYS_DARWIN -#define AVV(x...) (x) -#else -#define AVV(x...) {x} -#endif - #define vzero vec_splat_s32(0) static inline void diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5e55a6b3c..b5d4ed7a5 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -27,12 +27,6 @@ #include "avutil.h" -#ifdef SYS_DARWIN -#define AVV(x...) (x) -#else -#define AVV(x...) {x} -#endif - #define MAX_FILTER_SIZE 256 typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, -- 2.11.0