summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-08-24 15:04:14 +0000
committerDiego Biurrun <diego@biurrun.de>2007-08-24 15:04:14 +0000
commit6465c977b75fc1d9fa8ef7237f6e8dfe99d201b0 (patch)
treea8efb263756b932f62f28dffe0814f351327dbbb /libswscale
parent8008a04325236d6b6e0b3ae1c9c2a28c68668696 (diff)
Move Apple gcc AltiVec vector declaration syntax to libavutil.
Originally committed as revision 24143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_altivec_template.c6
-rw-r--r--libswscale/swscale_internal.h6
2 files changed, 0 insertions, 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,