diff options
author | rh <rh> | 1999-03-28 20:08:08 +0000 |
---|---|---|
committer | rh <rh> | 1999-03-28 20:08:08 +0000 |
commit | 4ca0fb4f1aecf6cc46b349b37cb01396df559af9 (patch) | |
tree | a88fe0bf509a1ac44b5d58c07478fcb5ed7d45cd /audio/splay/patches/patch-ah | |
parent | e7db340af2a69da671f4964f2df4e558a1274891 (diff) | |
download | pkgsrc-4ca0fb4f1aecf6cc46b349b37cb01396df559af9.tar.gz |
update splay to 0.8.2
Diffstat (limited to 'audio/splay/patches/patch-ah')
-rw-r--r-- | audio/splay/patches/patch-ah | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/audio/splay/patches/patch-ah b/audio/splay/patches/patch-ah index 911dced4d59..c7676173695 100644 --- a/audio/splay/patches/patch-ah +++ b/audio/splay/patches/patch-ah @@ -1,13 +1,25 @@ -$NetBSD: patch-ah,v 1.2 1998/08/07 10:36:14 agc Exp $ +$NetBSD: patch-ah,v 1.3 1999/03/28 20:08:09 rh 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 @@ +--- mpegsound/mpeglayer3.cc.orig Fri Mar 6 18:43:55 1998 ++++ mpegsound/mpeglayer3.cc Sun Mar 28 19:41:06 1999 +@@ -46,17 +46,16 @@ + { + register unsigned short a; + +-#ifndef WORDS_BIGENDIAN + { + // int offset=(bitindex>>3)&(WINDOWSIZE-1); + int offset=bitindex>>3; + ++#ifndef WORDS_BIGENDIAN 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)))); +- // a=((unsigned short *)(buffer+((bixindex>>3)&(WINDOWSIZE-1)))); +- a=((unsigned short *)(buffer+((bixindex>>3)))); ++ a=((unsigned short *)(buffer+offset)); #endif ++ } a<<=(bitindex&7); + bitindex+=bits; |