[libav-devel] [PATCH 1/3] Use LOCAL_ALIGNED in ff_check_alignment()

Mans Rullgard mans at mansr.com
Sun Jul 17 00:35:17 CEST 2011


Signed-off-by: Mans Rullgard <mans at mansr.com>
---
 libavcodec/dsputil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 4f17b43..8bb7dc1 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -2844,7 +2844,7 @@ av_cold void dsputil_static_init(void)
 
 int ff_check_alignment(void){
     static int did_fail=0;
-    DECLARE_ALIGNED(16, int, aligned);
+    LOCAL_ALIGNED_16(int, aligned);
 
     if((intptr_t)&aligned & 15){
         if(!did_fail){
-- 
1.7.6



More information about the libav-devel mailing list