Altivec and SSE2 require 16-byte alignment, so make sure they get it

patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alexander Strange 2008-03-30 10:30:33 +00:00 committed by Guillaume Poirier
parent 3794b92819
commit 55727a835b
1 changed files with 1 additions and 1 deletions

View 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)));