From 1c757aef175de07051e68bdb68cbc9aa633384f5 Mon Sep 17 00:00:00 2001 From: zuxy Date: Wed, 6 Jun 2007 05:16:08 +0000 Subject: 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 --- mp3lib/dct64_sse.c | 4 ++-- mp3lib/layer3.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mp3lib') 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