summaryrefslogtreecommitdiff
path: root/src/demuxers/iff.h
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 20:36:36 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-09 20:36:36 +0200
commita89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e (patch)
treeacb7dab784340185f86a0009cf057569ffd336a1 /src/demuxers/iff.h
parent6b0bd243d70f430f9f19a61335a4a38e8a09bc11 (diff)
parentc552e457732c3c7b84b66ed8548713be52561487 (diff)
downloadxine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.gz
xine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.bz2
Update from 1.1 branch.
Diffstat (limited to 'src/demuxers/iff.h')
-rw-r--r--src/demuxers/iff.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/demuxers/iff.h b/src/demuxers/iff.h
index 9d4fb5abe..64f44fd94 100644
--- a/src/demuxers/iff.h
+++ b/src/demuxers/iff.h
@@ -118,7 +118,8 @@
#define HAMBITS_RED 2 /* modify red component */
#define HAMBITS_GREEN 3 /* modify green component */
-int bitplainoffeset[] = { 1, 2, 4, 8,
+static const int bitplainoffeset[] = {
+ 1, 2, 4, 8,
16, 32, 64, 128,
1, 2, 4, 8,
16, 32, 64, 128,
@@ -237,9 +238,9 @@ typedef struct {
#define max_volume 65536 /* Unity = Fixed 1.0 = maximum volume */
-int8_t fibonacci[] = { -34, -21, -13, -8, -5, -3, -2, -1, 0, 1, 2, 3, 5, 8, 13, 21 };
+static const int8_t fibonacci[] = { -34, -21, -13, -8, -5, -3, -2, -1, 0, 1, 2, 3, 5, 8, 13, 21 };
-int8_t exponential[] = { -128, -64, -32, -16, -8, -4, -2, -1, 0, 1, 2, 4, 8, 16, 32, 64 };
+static const int8_t exponential[] = { -128, -64, -32, -16, -8, -4, -2, -1, 0, 1, 2, 4, 8, 16, 32, 64 };
typedef struct {
uint32_t oneShotHiSamples; /* # samples in the high octave 1-shot part */