changeset 6189:8b087434f31b libavcodec

Use DECLARE_ALIGNED in yet another place
author reimar
date Sun, 27 Jan 2008 20:45:49 +0000
parents c0ef7b5d4a4f
children 2aa536e36c89
files i386/simple_idct_mmx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/i386/simple_idct_mmx.c	Sun Jan 27 19:59:11 2008 +0000
+++ b/i386/simple_idct_mmx.c	Sun Jan 27 20:45:49 2008 +0000
@@ -51,7 +51,7 @@
 static const uint64_t attribute_used __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
 static const uint64_t attribute_used __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
 
-static const int16_t __attribute__((aligned(8))) coeffs[]= {
+DECLARE_ALIGNED(8, static const int16_t, coeffs[])= {
         1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0,
 //        1<<(COL_SHIFT-1), 0, 1<<(COL_SHIFT-1), 0,
 //        0, 1<<(COL_SHIFT-1-16), 0, 1<<(COL_SHIFT-1-16),