# HG changeset patch
# User gpoirier
# Date 1174002320 0
# Node ID c23a5c8263bc95489582ee2280df06f0ea79b9d0
# Parent  d4de8d9a278841a4c987e70ccd222efd53b4cb1b
force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
patch by John Dalgliesh %johnd A defyne P org%

diff -r d4de8d9a2788 -r c23a5c8263bc dv.c
--- a/dv.c	Thu Mar 15 21:22:10 2007 +0000
+++ b/dv.c	Thu Mar 15 23:45:20 2007 +0000
@@ -838,7 +838,7 @@
     uint8_t*  data;
     uint8_t*  ptr;
     int       do_edge_wrap;
-    DECLARE_ALIGNED_8(DCTELEM, block[64]);
+    DECLARE_ALIGNED_16(DCTELEM, block[64]);
     EncBlockInfo  enc_blks[5*6];
     PutBitContext pbs[5*6];
     PutBitContext* pb;
@@ -846,7 +846,7 @@
     int       vs_bit_size = 0;
     int       qnos[5];
 
-    assert((((int)block) & 7) == 0);
+    assert((((int)block) & 15) == 0);
 
     enc_blk = &enc_blks[0];
     pb = &pbs[0];