From 125af022434fbb6a61ba8244eb19d3a43f9687e9 Mon Sep 17 00:00:00 2001 From: Milan Cutka Date: Fri, 8 Oct 2004 10:37:45 +0000 Subject: [PATCH] Quantizer noise shaping crashes on SSE2 machines patch by (Milan Cutka ) Originally committed as revision 3571 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index c89926ff3..c27e8fe1a 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -5494,7 +5494,7 @@ static int dct_quantize_refine(MpegEncContext *s, //FIXME breaks denoise? DCTELEM *block, int16_t *weight, DCTELEM *orig, int n, int qscale){ int16_t rem[64]; - DCTELEM d1[64]; + DCTELEM d1[64] __align16; const int *qmat; const uint8_t *scantable= s->intra_scantable.scantable; const uint8_t *perm_scantable= s->intra_scantable.permutated; -- 2.11.0