diff options
author | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-06 05:16:08 +0000 |
---|---|---|
committer | zuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-06 05:16:08 +0000 |
commit | 1c757aef175de07051e68bdb68cbc9aa633384f5 (patch) | |
tree | 5a8dbd1639e5c4b79fea2cc224165abac2af0496 | |
parent | 739f79a5ff6a74fd2ea52478267b4b84f3671275 (diff) | |
download | mpv-1c757aef175de07051e68bdb68cbc9aa633384f5.tar.bz2 mpv-1c757aef175de07051e68bdb68cbc9aa633384f5.tar.xz |
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
-rw-r--r-- | mp3lib/dct64_sse.c | 4 | ||||
-rw-r--r-- | mp3lib/layer3.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mp3lib/dct64_sse.c b/mp3lib/dct64_sse.c index 069a1da808..9c3873996d 100644 --- a/mp3lib/dct64_sse.c +++ b/mp3lib/dct64_sse.c @@ -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; { diff --git a/mp3lib/layer3.c b/mp3lib/layer3.c index 446044490b..3511c70f3a 100644 --- a/mp3lib/layer3.c +++ b/mp3lib/layer3.c @@ -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; |