You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/dca: remove Rice code length limit
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user