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
pull/126/head
Alexander Strange 17 years ago committed by Guillaume Poirier
parent 3794b92819
commit 55727a835b
  1. 2
      libavcodec/dct-test.c

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

Loading…
Cancel
Save