[FFmpeg-cvslog] x86/simple_idct: use LOCAL_ALIGNED instead of DECLARE_ALIGNED

Paul B Mahol git at videolan.org
Tue Sep 3 19:03:48 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep  2 22:02:59 2013 +0000| [6053812814055314b082030b9fcb6ccc9926c146] | committer: Paul B Mahol

x86/simple_idct: use LOCAL_ALIGNED instead of DECLARE_ALIGNED

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6053812814055314b082030b9fcb6ccc9926c146
---

 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(



More information about the ffmpeg-cvslog mailing list