Commit 934626a9 authored by Ramiro Polla's avatar Ramiro Polla

Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.

Originally committed as revision 29349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 92db6235
...@@ -2258,7 +2258,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, ...@@ -2258,7 +2258,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth,
#if HAVE_MMX2 #if HAVE_MMX2
int i; int i;
#if defined(PIC) #if defined(PIC)
uint64_t ebxsave __attribute__((aligned(8))); DECLARE_ALIGNED(8, uint64_t, ebxsave);
#endif #endif
if (canMMX2BeUsed) if (canMMX2BeUsed)
{ {
...@@ -2454,7 +2454,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, ...@@ -2454,7 +2454,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
#if HAVE_MMX2 #if HAVE_MMX2
int i; int i;
#if defined(PIC) #if defined(PIC)
uint64_t ebxsave __attribute__((aligned(8))); DECLARE_ALIGNED(8, uint64_t, ebxsave);
#endif #endif
if (canMMX2BeUsed) if (canMMX2BeUsed)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment