changeset 10090:1315878bc455 libavcodec

100l, inv_zigzag_direct16 must be aligned to 16 bytes for dct_quantize_SSE2 (which uses movdqa to xmm1 on inv_zigzag_direct16).
author reimar
date Wed, 26 Aug 2009 09:10:51 +0000
parents b9247f1debb2
children 8e1fbf9b0858
files dsputil.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Wed Aug 26 01:29:10 2009 +0000
+++ b/dsputil.c	Wed Aug 26 09:10:51 2009 +0000
@@ -86,7 +86,7 @@
 };
 
 /* not permutated inverse zigzag_direct + 1 for MMX quantizer */
-DECLARE_ALIGNED_8(uint16_t, inv_zigzag_direct16[64]);
+DECLARE_ALIGNED_16(uint16_t, inv_zigzag_direct16[64]);
 
 const uint8_t ff_alternate_horizontal_scan[64] = {
     0,  1,   2,  3,  8,  9, 16, 17,