Commit d0212bb0 authored by Michael Niedermayer's avatar Michael Niedermayer

wmalosslessdec: channel residues can be 32 bit thus need _long bitreader.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a931d877
......@@ -496,9 +496,9 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
if (s->seekable_tile) {
if (s->do_inter_ch_decorr)
s->channel_residues[ch][0] = get_sbits(&s->gb, s->bits_per_sample + 1);
s->channel_residues[ch][0] = get_sbits_long(&s->gb, s->bits_per_sample + 1);
else
s->channel_residues[ch][0] = get_sbits(&s->gb, s->bits_per_sample);
s->channel_residues[ch][0] = get_sbits_long(&s->gb, s->bits_per_sample);
i++;
}
for (; i < tile_size; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment