You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
aaccoder: use put_sbits()
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -210,7 +210,7 @@ static av_always_inline float quantize_and_encode_band_cost_template(
|
|||||||
int len = av_log2(coef);
|
int len = av_log2(coef);
|
||||||
|
|
||||||
put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2);
|
put_bits(pb, len - 4 + 1, (1 << (len - 4 + 1)) - 2);
|
||||||
put_bits(pb, len, coef & ((1 << len) - 1));
|
put_sbits(pb, len, coef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user