Browse code

bink: correctly align local arrays

Originally committed as revision 23425 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/06/03 00:22:21
Showing 1 changed files
... ...
@@ -681,8 +681,8 @@ static int bink_decode_plane(BinkContext *c, GetBitContext *gb, int plane_idx,
681 681
     int v, col[2];
682 682
     const uint8_t *scan;
683 683
     int xoff, yoff;
684
-    DECLARE_ALIGNED(16, DCTELEM, block[64]);
685
-    DECLARE_ALIGNED(16, uint8_t, ublock[64]);
684
+    LOCAL_ALIGNED_16(DCTELEM, block, [64]);
685
+    LOCAL_ALIGNED_16(uint8_t, ublock, [64]);
686 686
     int coordmap[64];
687 687
 
688 688
     const int stride = c->pic.linesize[plane_idx];