Altivec and SSE2 require 16-byte alignment, so make sure they get it
authorAlexander Strange <astrange@ithinksw.com>
Sun, 30 Mar 2008 10:30:33 +0000 (10:30 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 30 Mar 2008 10:30:33 +0000 (10:30 +0000)
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dct-test.c

index a8a3649..27a9e95 100644 (file)
@@ -169,7 +169,7 @@ void idct_mmx_init(void)
     }
 }
 
-static DCTELEM block[64] __attribute__ ((aligned (8)));
+static DCTELEM block[64] __attribute__ ((aligned (16)));
 static DCTELEM block1[64] __attribute__ ((aligned (8)));
 static DCTELEM block_org[64] __attribute__ ((aligned (8)));