aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-03-02 13:54:33 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-03-02 13:54:33 +0200
commit4572d53e16e87eee375bc5624de2fd59bb0ae9cd (patch)
tree615cd34990d07b0a01303ed7052a407426fe7b76
parentBuild: Make CMake build fail if tuklib_cpucores or tuklib_physmem fails. (diff)
downloadxz-4572d53e16e87eee375bc5624de2fd59bb0ae9cd.tar.xz
liblzma: Fix a comment and RC_SYMBOLS_MAX.
The comment didn't match the value of RC_SYMBOLS_MAX and the value itself was slightly larger than actually needed. The only harm about this was that memory usage was a few bytes larger.
-rw-r--r--src/liblzma/rangecoder/range_encoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/rangecoder/range_encoder.h b/src/liblzma/rangecoder/range_encoder.h
index 1e1c3699..4f3b30ca 100644
--- a/src/liblzma/rangecoder/range_encoder.h
+++ b/src/liblzma/rangecoder/range_encoder.h
@@ -19,9 +19,9 @@
/// Maximum number of symbols that can be put pending into lzma_range_encoder
-/// structure between calls to lzma_rc_encode(). For LZMA, 52+5 is enough
+/// structure between calls to lzma_rc_encode(). For LZMA, 48+5 is enough
/// (match with big distance and length followed by range encoder flush).
-#define RC_SYMBOLS_MAX 58
+#define RC_SYMBOLS_MAX 53
typedef struct {