Use LOCAL_ALIGNED in ff_check_alignment()
authorMans Rullgard <mans@mansr.com>
Sat, 16 Jul 2011 14:37:05 +0000 (15:37 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 16 Jul 2011 18:39:19 +0000 (19:39 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dsputil.c

index 4f17b43..8bb7dc1 100644 (file)
@@ -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){