From: Ramiro Polla Date: Thu, 4 Jun 2009 22:10:52 +0000 (+0000) Subject: Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED. X-Git-Tag: v0.6~4161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=934626a9f96091492a72f6ab5f8b07745e906d72;p=platform%2Fupstream%2Flibav.git Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED. Originally committed as revision 29349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 05d1059..bb6a840 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2258,7 +2258,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, #if HAVE_MMX2 int i; #if defined(PIC) - uint64_t ebxsave __attribute__((aligned(8))); + DECLARE_ALIGNED(8, uint64_t, ebxsave); #endif if (canMMX2BeUsed) { @@ -2454,7 +2454,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, #if HAVE_MMX2 int i; #if defined(PIC) - uint64_t ebxsave __attribute__((aligned(8))); + DECLARE_ALIGNED(8, uint64_t, ebxsave); #endif if (canMMX2BeUsed) {