OSDN Git Service

Quantizer noise shaping crashes on SSE2 machines patch by (Milan Cutka <cutka at...
authorMilan Cutka <cutka@szm.sk>
Fri, 8 Oct 2004 10:37:45 +0000 (10:37 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 8 Oct 2004 10:37:45 +0000 (10:37 +0000)
Originally committed as revision 3571 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index c89926f..c27e8fe 100644 (file)
@@ -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;