[SCM] libav/experimental: 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.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:58:22 UTC 2013
The following commit has been merged in the experimental branch:
commit e62a55b92e1524f12cbf78033383d5a4de90257a
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Fri Jan 22 23:40:18 2010 +0000
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
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 7a979a9..2251a69 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,
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list