Kicking the whoopsies out
This commit is contained in:
@@ -351,8 +351,8 @@ class WTVLzpf {
|
|||||||
* @returns {undefined}
|
* @returns {undefined}
|
||||||
*/
|
*/
|
||||||
AddBits(bits, bit_length) {
|
AddBits(bits, bit_length) {
|
||||||
this.current_bits |= code >>> (this.current_bit_length & 0x1F);
|
this.current_bits |= bits >>> (this.current_bit_length & 0x1F);
|
||||||
this.current_bit_length += code_length;
|
this.current_bit_length += bit_length;
|
||||||
|
|
||||||
while (this.current_bit_length > 7) {
|
while (this.current_bit_length > 7) {
|
||||||
this.AddByte((this.current_bits >>> 0x18) & 0xFF);
|
this.AddByte((this.current_bits >>> 0x18) & 0xFF);
|
||||||
|
|||||||
Reference in New Issue
Block a user