OSDN Git Service

bink: correctly align local arrays
authorMåns Rullgård <mans@mansr.com>
Wed, 2 Jun 2010 15:22:21 +0000 (15:22 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 2 Jun 2010 15:22:21 +0000 (15:22 +0000)
Originally committed as revision 23425 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bink.c

index a988a34..b5921f9 100644 (file)
@@ -681,8 +681,8 @@ static int bink_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]);
-    DECLARE_ALIGNED(16, uint8_t, ublock[64]);
+    LOCAL_ALIGNED_16(DCTELEM, block, [64]);
+    LOCAL_ALIGNED_16(uint8_t, ublock, [64]);
     int coordmap[64];
 
     const int stride = c->pic.linesize[plane_idx];