Mercurial > libavcodec.hg
changeset 10965:d27deb92257b libavcodec
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.
author | reimar |
---|---|
date | Fri, 22 Jan 2010 23:40:18 +0000 |
parents | abb3b23bda35 |
children | c29ee479e359 |
files | dsputil.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.c Fri Jan 22 23:07:58 2010 +0000 +++ b/dsputil.c Fri Jan 22 23:40:18 2010 +0000 @@ -87,7 +87,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,