summaryrefslogtreecommitdiffstats
path: root/encoder_base.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-21 12:11:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-02-21 12:11:58 +0000
commit2bdc2226d245a24c948c4c98364d7da2adc6c860 (patch)
tree98c0d79abbdcf18b8509c29bacee7e75314732e9 /encoder_base.h
parentAdding upstream version 1.22. (diff)
downloadlzip-2bdc2226d245a24c948c4c98364d7da2adc6c860.tar.xz
lzip-2bdc2226d245a24c948c4c98364d7da2adc6c860.zip
Adding upstream version 1.23.upstream/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
{