summaryrefslogtreecommitdiffstats
path: root/fast_encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-16 22:53:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-16 22:53:52 +0000
commit006e85e57e005079065991a735a5007ab99f7071 (patch)
tree06ad797bb9415413b606043f87213703d02e0505 /fast_encoder.h
parentAdding upstream version 1.19. (diff)
downloadlzip-006e85e57e005079065991a735a5007ab99f7071.tar.xz
lzip-006e85e57e005079065991a735a5007ab99f7071.zip
Adding upstream version 1.20.upstream/1.20
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fast_encoder.h')
-rw-r--r--fast_encoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fast_encoder.h b/fast_encoder.h
index 37ab8ef..89b6a0c 100644
--- a/fast_encoder.h
+++ b/fast_encoder.h
@@ -1,5 +1,5 @@
/* Lzip - LZMA lossless data compressor
- Copyright (C) 2008-2017 Antonio Diaz Diaz.
+ Copyright (C) 2008-2018 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
@@ -42,7 +42,7 @@ class FLZ_encoder : public LZ_encoder_base
}
}
- enum { before = 0,
+ enum { before_size = 0,
dict_size = 65536,
// bytes to keep in buffer after pos
after_size = max_match_len,
@@ -53,7 +53,7 @@ class FLZ_encoder : public LZ_encoder_base
public:
FLZ_encoder( const int ifd, const int outfd )
:
- LZ_encoder_base( before, dict_size, after_size, dict_factor,
+ LZ_encoder_base( before_size, dict_size, after_size, dict_factor,
num_prev_positions23, pos_array_factor, ifd, outfd )
{}