summaryrefslogtreecommitdiff
path: root/apps/codecs/libwavpack
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2005-02-25 17:48:57 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2005-02-25 17:48:57 +0000
commit26601b9167c2fa27203648181d7d19b13552f632 (patch)
tree8a99b33634c9b7ac34aedf5366b098a89829d63b /apps/codecs/libwavpack
parent83387a7181f0c32d12a170f336733eac0a1a5a73 (diff)
downloadrockbox-26601b9167c2fa27203648181d7d19b13552f632.tar.gz
rockbox-26601b9167c2fa27203648181d7d19b13552f632.zip
dirty ctype fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6059 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwavpack')
-rw-r--r--apps/codecs/libwavpack/bits.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/codecs/libwavpack/bits.c b/apps/codecs/libwavpack/bits.c
index 25a222780f..e1700df539 100644
--- a/apps/codecs/libwavpack/bits.c
+++ b/apps/codecs/libwavpack/bits.c
@@ -19,6 +19,27 @@
19#include <string.h> 19#include <string.h>
20#include <ctype.h> 20#include <ctype.h>
21 21
22/* dirty fix */
23const char _ctype_[257]={
24 0,
25 _C, _C, _C, _C, _C, _C, _C, _C,
26 _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C,
27 _C, _C, _C, _C, _C, _C, _C, _C,
28 _C, _C, _C, _C, _C, _C, _C, _C,
29 _S|_B, _P, _P, _P, _P, _P, _P, _P,
30 _P, _P, _P, _P, _P, _P, _P, _P,
31 _N, _N, _N, _N, _N, _N, _N, _N,
32 _N, _N, _P, _P, _P, _P, _P, _P,
33 _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U,
34 _U, _U, _U, _U, _U, _U, _U, _U,
35 _U, _U, _U, _U, _U, _U, _U, _U,
36 _U, _U, _U, _P, _P, _P, _P, _P,
37 _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L,
38 _L, _L, _L, _L, _L, _L, _L, _L,
39 _L, _L, _L, _L, _L, _L, _L, _L,
40 _L, _L, _L, _P, _P, _P, _P, _C
41};
42
22////////////////////////// Bitstream functions //////////////////////////////// 43////////////////////////// Bitstream functions ////////////////////////////////
23 44
24// Open the specified BitStream and associate with the specified buffer. 45// Open the specified BitStream and associate with the specified buffer.