# HG changeset patch # User zuxy # Date 1181106968 0 # Node ID a1a699833dcf665c1002a44b8e3b98180b7bd456 # Parent 1b1fdac4a68c39bee97abd2a76fcdbdf898558d2 Change some static temporary vars to automatic ones because mingw32 binutils couldn't align them properly. Also 1% faster decode. diff -r 1b1fdac4a68c -r a1a699833dcf mp3lib/dct64_sse.c --- a/mp3lib/dct64_sse.c Wed Jun 06 05:13:13 2007 +0000 +++ b/mp3lib/dct64_sse.c Wed Jun 06 05:16:08 2007 +0000 @@ -22,8 +22,8 @@ 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 -r 1b1fdac4a68c -r a1a699833dcf mp3lib/layer3.c --- a/mp3lib/layer3.c Wed Jun 06 05:13:13 2007 +0000 +++ b/mp3lib/layer3.c Wed Jun 06 05:16:08 2007 +0000 @@ -1260,8 +1260,8 @@ granules = (fr->lsf) ? 1 : 2; for (gr=0;gr