diff dv.c @ 6571:ad0c77d2b6ee libavcodec

Increase alignment for DCT block arrays from 8 to 16 Patch by Alexander Strange ( astrange ithinksw com )
author superdump
date Tue, 08 Apr 2008 01:09:33 +0000
parents 48759bfbd073
children 5df0c730234d
line wrap: on
line diff
--- a/dv.c	Tue Apr 08 00:57:12 2008 +0000
+++ b/dv.c	Tue Apr 08 01:09:33 2008 +0000
@@ -376,7 +376,7 @@
     PutBitContext pb, vs_pb;
     GetBitContext gb;
     BlockInfo mb_data[5 * 6], *mb, *mb1;
-    DECLARE_ALIGNED_8(DCTELEM, sblock[5*6][64]);
+    DECLARE_ALIGNED_16(DCTELEM, sblock[5*6][64]);
     DECLARE_ALIGNED_8(uint8_t, mb_bit_buffer[80 + 4]); /* allow some slack */
     DECLARE_ALIGNED_8(uint8_t, vs_bit_buffer[5 * 80 + 4]); /* allow some slack */
     const int log2_blocksize= 3-s->avctx->lowres;