mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
avcodec/dca: remove Rice code length limit
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
8b5941ce59
commit
e0706e9cc8
@ -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…
Reference in New Issue
Block a user