diff options
Diffstat (limited to 'audio/mpg123/patches/patch-ae')
-rw-r--r-- | audio/mpg123/patches/patch-ae | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/mpg123/patches/patch-ae b/audio/mpg123/patches/patch-ae new file mode 100644 index 00000000000..b7b340d3663 --- /dev/null +++ b/audio/mpg123/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.5 1999/10/12 04:43:13 simonb Exp $ + +--- dct64_i486.c.orig Thu Nov 19 21:42:36 1998 ++++ dct64_i486.c Mon Aug 16 01:49:16 1999 +@@ -47,7 +47,11 @@ + #define SETOUT(out,n,expr) out[FIR_BUFFER_SIZE*(n)]=(expr) + #define MUL(a,b) (((a)*(b)) >> 15) + #define MULL(a,b) (((long long)(a)*(long long)(b)) >> 15) ++#ifdef REAL_IS_FIXED ++#define TOINT(a) ((a) * 32768 / (int)REAL_FACTOR) ++#else + #define TOINT(a) ((int)((a)*32768.0)) ++#endif + + void dct64_1_486(int *out0,int *out1,int *b1,int *b2) + { |