summaryrefslogtreecommitdiff
path: root/audio/splay/patches/patch-ah
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-05-12 11:30:02 +0000
committerfrueauf <frueauf>1998-05-12 11:30:02 +0000
commitdff72531de2bfd4cf25d36e984185f167af15a39 (patch)
tree768d5a37af01979470d114eb538483ca14646d6b /audio/splay/patches/patch-ah
parent06adb74d4350cb47e06b647b9ec45f4e2b915a79 (diff)
downloadpkgsrc-dff72531de2bfd4cf25d36e984185f167af15a39.tar.gz
Fix a typo that prevented compilation in BIGENDIAN case.
Diffstat (limited to 'audio/splay/patches/patch-ah')
-rw-r--r--audio/splay/patches/patch-ah11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/splay/patches/patch-ah b/audio/splay/patches/patch-ah
new file mode 100644
index 00000000000..5ca9133736d
--- /dev/null
+++ b/audio/splay/patches/patch-ah
@@ -0,0 +1,11 @@
+--- 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);