mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
wmalosslessdec: channel residues can be 32 bit thus need _long bitreader.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a931d87727
commit
d0212bb032
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user