From 64681afa0447fcc0e7a51c48f0e0f04134e12dae Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 24 Aug 2007 15:04:14 +0000 Subject: [PATCH] Move Apple gcc AltiVec vector declaration syntax to libavutil. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24143 b3059339-0415-0410-9bf9-f77b7e298cf2 --- 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 fcbf581ba0..3706fc886b 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 5e55a6b3c0..b5d4ed7a50 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,