summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-26 09:10:51 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-26 09:10:51 +0000
commit64e657fd2ce872a58808ae1f70d8ee37e525346b (patch)
treeeb07c2cf68ae656f3bf4c0773a641fc4a9d01915
parent8b03c014f051e18dc103cf89a224ee983775815a (diff)
downloadffmpeg-streaming-64e657fd2ce872a58808ae1f70d8ee37e525346b.zip
ffmpeg-streaming-64e657fd2ce872a58808ae1f70d8ee37e525346b.tar.gz
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
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 2d5a9a2..f2b2fc8 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,
OpenPOWER on IntegriCloud