Change some static temporary vars to automatic ones because mingw32 binutils

couldn't align them properly. Also 1% faster decode.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23485 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
zuxy 2007-06-06 05:16:08 +00:00
parent 739f79a5ff
commit 1c757aef17
2 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ static const int nnnn[4] __attribute__((aligned(16))) =
void dct64_sse(short *out0,short *out1,real *c)
{
static DECLARE_ALIGNED(16, real, b1[0x20]);
static DECLARE_ALIGNED(16, real, b2[0x20]);
DECLARE_ALIGNED(16, real, b1[0x20]);
DECLARE_ALIGNED(16, real, b2[0x20]);
static real const one = 1.f;
{

View File

@ -1260,8 +1260,8 @@ static int do_layer3(struct frame *fr,int single){
granules = (fr->lsf) ? 1 : 2;
for (gr=0;gr<granules;gr++){
static DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
static DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
DECLARE_ALIGNED(16, real, hybridIn[2][SBLIMIT][SSLIMIT]);
DECLARE_ALIGNED(16, real, hybridOut[2][SSLIMIT][SBLIMIT]);
{ struct gr_info_s *gr_info = &(sideinfo.ch[0].gr[gr]);
int part2bits;