From 64e657fd2ce872a58808ae1f70d8ee37e525346b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Wed, 26 Aug 2009 09:10:51 +0000 Subject: [PATCH] 100l, inv_zigzag_direct16 must be aligned to 16 bytes for dct_quantize_SSE2 (which uses movdqa to xmm1 on inv_zigzag_direct16). Originally committed as revision 19711 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 2d5a9a2121..f2b2fc8d2b 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -86,7 +86,7 @@ const uint8_t ff_zigzag248_direct[64] = { }; /* 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,