bink: use LOCAL_ALIGNED for aligned stack data
authorMans Rullgard <mans@mansr.com>
Fri, 25 Feb 2011 14:52:23 +0000 (14:52 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:06 +0000 (03:16 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 8997bb8807336dd6d6c96364952bb71c161ac3b2)

libavcodec/bink.c

index b77e9db..d1985ed 100644 (file)
@@ -790,7 +790,7 @@ static int binkb_decode_plane(BinkContext *c, GetBitContext *gb, int plane_idx,
     int v, col[2];
     const uint8_t *scan;
     int xoff, yoff;
-    DECLARE_ALIGNED(16, DCTELEM, block[64]);
+    LOCAL_ALIGNED_16(DCTELEM, block, [64]);
     int coordmap[64];
     int ybias = is_key ? -15 : 0;
     int qp;