summaryrefslogtreecommitdiffstats
path: root/encoder_base.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-21 12:12:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-21 12:12:28 +0000
commit60f1f649f81ccd08f7def8127593b4a17a2db52e (patch)
tree210fc05a564804b3b1c8e5c94492b091ccd5c9e0 /encoder_base.h
parentReleasing debian version 1.22-5. (diff)
downloadlzip-60f1f649f81ccd08f7def8127593b4a17a2db52e.tar.xz
lzip-60f1f649f81ccd08f7def8127593b4a17a2db52e.zip
Merging upstream version 1.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'encoder_base.h')
-rw-r--r--encoder_base.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/encoder_base.h b/encoder_base.h
index 9d45565..b3dd9e6 100644
--- a/encoder_base.h
+++ b/encoder_base.h
@@ -1,5 +1,5 @@
/* Lzip - LZMA lossless data compressor
- Copyright (C) 2008-2021 Antonio Diaz Diaz.
+ Copyright (C) 2008-2022 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -302,7 +302,8 @@ public:
if( !bit )
{
range = bound;
- bm.probability += (bit_model_total - bm.probability) >> bit_model_move_bits;
+ bm.probability +=
+ ( bit_model_total - bm.probability ) >> bit_model_move_bits;
}
else
{