[FFmpeg-devel] [PATCH] x86/simple_idct: use LOCAL_ALIGNED instead of DECLARE_ALIGNED
Paul B Mahol
onemda at gmail.com
Tue Sep 3 00:14:26 CEST 2013
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavcodec/x86/simple_idct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/x86/simple_idct.c b/libavcodec/x86/simple_idct.c
index c790ef5..c666b1a 100644
--- a/libavcodec/x86/simple_idct.c
+++ b/libavcodec/x86/simple_idct.c
@@ -80,7 +80,7 @@ DECLARE_ALIGNED(8, static const int16_t, coeffs)[]= {
static inline void idct(int16_t *block)
{
- DECLARE_ALIGNED(8, int64_t, align_tmp)[16];
+ LOCAL_ALIGNED_8(int64_t, align_tmp, [16]);
int16_t * const temp= (int16_t*)align_tmp;
__asm__ volatile(
--
1.7.11.2
More information about the ffmpeg-devel
mailing list