Commit e0706e9c authored by foo86's avatar foo86 Committed by James Almer

avcodec/dca: remove Rice code length limit

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 8b5941ce
......@@ -32,7 +32,7 @@ static int get_linear(GetBitContext *gb, int n)
static int get_rice_un(GetBitContext *gb, int k)
{
unsigned int v = get_unary(gb, 1, 128);
unsigned int v = get_unary(gb, 1, get_bits_left(gb));
return (v << k) | get_bits_long(gb, k);
}
......
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