avcodec/dca: remove Rice code length limit

Signed-off-by: James Almer <jamrial@gmail.com>
pull/102/merge
foo86 9 years ago committed by James Almer
parent 8b5941ce59
commit e0706e9cc8
  1. 2
      libavcodec/dca_xll.c

@ -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);
}

Loading…
Cancel
Save