aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-22 23:40:18 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-22 23:40:18 +0000
commite62a55b92e1524f12cbf78033383d5a4de90257a (patch)
tree813aadb4df75ba4bb2629e591b9ec1410edeb308 /libavcodec
parent54a4f36d6e600df4f839e8c7f874f64d076f4259 (diff)
downloadffmpeg-e62a55b92e1524f12cbf78033383d5a4de90257a.tar.gz
The SSSE3 version of dct_quantize in mpegvideo_mmx_template.c needs
inv_zigzag_direct16 16-byte aligned, so mark it appropriately. Fixes encoder crashes e.g. with MPlayer's -vf lavc. Originally committed as revision 21389 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 7a979a9f50..2251a6943f 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -87,7 +87,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,