diff options
author | Reimar Döffinger | 2008-01-27 14:46:56 +0000 |
---|---|---|
committer | Reimar Döffinger | 2008-01-27 14:46:56 +0000 |
commit | 27215c6bf436f935a60523897ee11bebcda86728 (patch) | |
tree | ca8c241be75edf9c5d8111dc5d16c9e5ec17a4e3 /libavcodec/i386 | |
parent | d761f089870c76ab5f18a789adc96fd190448b8d (diff) |
Use DECLARE_ALIGNED
Originally committed as revision 11630 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 2 | ||||
-rw-r--r-- | libavcodec/i386/simple_idct_mmx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 9b787291c8..2a163b81ac 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -668,7 +668,7 @@ static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){ if(ENABLE_ANY_H263) { const int strength= ff_h263_loop_filter_strength[qscale]; - uint64_t temp[4] __attribute__ ((aligned(8))); + DECLARE_ALIGNED(8, uint64_t, temp[4]); uint8_t *btemp= (uint8_t*)temp; src -= 2; diff --git a/libavcodec/i386/simple_idct_mmx.c b/libavcodec/i386/simple_idct_mmx.c index dd22ee8aa3..12f352c609 100644 --- a/libavcodec/i386/simple_idct_mmx.c +++ b/libavcodec/i386/simple_idct_mmx.c @@ -209,7 +209,7 @@ row[7] = input[13]; static inline void idct(int16_t *block) { - int64_t __attribute__((aligned(8))) align_tmp[16]; + DECLARE_ALIGNED(8, int64_t, align_tmp[16]); int16_t * const temp= (int16_t*)align_tmp; asm volatile( |