From 10522e04c27f9566cd69b2b4954870aabfd14c0c Mon Sep 17 00:00:00 2001 From: c0ntrol Date: Sat, 19 Mar 2016 17:41:29 +0100 Subject: [PATCH] __builtin_assume_aligned is only since gcc 4.7 --- veejay-current/veejay-server/libvje/effects/motionmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/veejay-current/veejay-server/libvje/effects/motionmap.c b/veejay-current/veejay-server/libvje/effects/motionmap.c index 31c816f5..052d8880 100644 --- a/veejay-current/veejay-server/libvje/effects/motionmap.c +++ b/veejay-current/veejay-server/libvje/effects/motionmap.c @@ -275,8 +275,8 @@ void motionmap_calc_diff( const uint8_t *bg, uint8_t *prev_img, const uint8_t *i uint8_t p1,p2; #ifndef NO_AUTOVECTORIZATION - uint8_t *I1 = __builtin_assume_aligned( pI1, 16 ); - uint8_t *I2 = __builtin_assume_aligned( pI2, 16 ); + uint8_t *I1 = pI1; + uint8_t *I2 = pI2; for( i = 0; i < len; i ++ ) {