summaryrefslogtreecommitdiff
path: root/audio/splay/patches/patch-ah
blob: 911dced4d59f1335c8613abc7783262275357e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.2 1998/08/07 10:36:14 agc Exp $

--- mpegsound/mpeglayer3.cc-orig	Sat May 24 11:34:12 1997
+++ mpegsound/mpeglayer3.cc	Tue May 12 13:10:28 1998
@@ -40,7 +40,7 @@
     a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
   }
 #else
-  a=((unsigned short *)(buffer+((bixindex>>3)&(WINDOWSIZE-1))));
+  a=((unsigned short *)(buffer+((bitindex>>3)&(WINDOWSIZE-1))));
 #endif
 
   a<<=(bitindex&7);