diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 20:36:36 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 20:36:36 +0200 |
commit | a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e (patch) | |
tree | acb7dab784340185f86a0009cf057569ffd336a1 /src/demuxers/demux_iff.c | |
parent | 6b0bd243d70f430f9f19a61335a4a38e8a09bc11 (diff) | |
parent | c552e457732c3c7b84b66ed8548713be52561487 (diff) | |
download | xine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.gz xine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.bz2 |
Update from 1.1 branch.
Diffstat (limited to 'src/demuxers/demux_iff.c')
-rw-r--r-- | src/demuxers/demux_iff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_iff.c b/src/demuxers/demux_iff.c index cc4df0c85..7ca851718 100644 --- a/src/demuxers/demux_iff.c +++ b/src/demuxers/demux_iff.c @@ -148,7 +148,7 @@ typedef struct { * different decoding deltas */ -static int8_t delta_decode_block(int8_t *source, int32_t n, int8_t *dest, int8_t x, int8_t *table) { +static int8_t delta_decode_block(const int8_t *source, int32_t n, int8_t *dest, int8_t x, const int8_t *table) { int32_t i; int lim = n * 2; @@ -163,7 +163,7 @@ static int8_t delta_decode_block(int8_t *source, int32_t n, int8_t *dest, int8_t } /* Decode a complete delta encoded array */ -static void delta_decode(int8_t *dest, int8_t *source, int32_t n, int8_t *table){ +static void delta_decode(int8_t *dest, const int8_t *source, int32_t n, const int8_t *table){ delta_decode_block(&source[2], n-2, dest, source[1], table); } |