summaryrefslogtreecommitdiff
path: root/audio/splay/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/splay/patches/patch-ad')
-rw-r--r--audio/splay/patches/patch-ad42
1 files changed, 0 insertions, 42 deletions
diff --git a/audio/splay/patches/patch-ad b/audio/splay/patches/patch-ad
deleted file mode 100644
index 17ff7e42692..00000000000
--- a/audio/splay/patches/patch-ad
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2002/08/05 17:39:18 wiz Exp $
-
---- mpegsound/mpegsound_locals.h.orig Fri Mar 6 18:43:55 1998
-+++ mpegsound/mpegsound_locals.h
-@@ -20,15 +21,9 @@
- inline int Mpegtoraw::getbits9(int bits)
- {
- register unsigned short a;
--#ifndef WORDS_BIGENDIAN
-- {
-- int offset=bitindex>>3;
--
-- a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
-- }
--#else
-- a=((unsigned short *)(buffer+((bixindex>>3))));
--#endif
-+ int offset=bitindex>>3;
-+
-+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
-
- a<<=(bitindex&7);
- bitindex+=bits;
-@@ -38,16 +33,9 @@
- inline int Mpegtoraw::getbits8(void)
- {
- register unsigned short a;
-+ int offset=bitindex>>3;
-
--#ifndef WORDS_BIGENDIAN
-- {
-- int offset=bitindex>>3;
--
-- a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
-- }
--#else
-- a=((unsigned short *)(buffer+((bixindex>>3))));
--#endif
-+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
-
- a<<=(bitindex&7);
- bitindex+=8;