diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwavpack/bits.c | 21 |
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 */ | ||
23 | const 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. |