diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-08 17:20:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-01-08 17:20:05 +0000 |
commit | 8c5c614b4137a9c6d31d15dab679a9a83260ba4c (patch) | |
tree | 95c123a85cf741387920efd8c885ffb7539a7c2a /fast_encoder.c | |
parent | Adding upstream version 1.10. (diff) | |
download | clzip-8c5c614b4137a9c6d31d15dab679a9a83260ba4c.tar.xz clzip-8c5c614b4137a9c6d31d15dab679a9a83260ba4c.zip |
Adding upstream version 1.11.upstream/1.11
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fast_encoder.c')
-rw-r--r-- | fast_encoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fast_encoder.c b/fast_encoder.c index 5cd7978..c3bc68c 100644 --- a/fast_encoder.c +++ b/fast_encoder.c @@ -1,5 +1,5 @@ /* Clzip - LZMA lossless data compressor - Copyright (C) 2010-2018 Antonio Diaz Diaz. + Copyright (C) 2010-2019 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 @@ -74,14 +74,14 @@ bool FLZe_encode_member( struct FLZ_encoder * const fe, const unsigned long long member_size ) { const unsigned long long member_size_limit = - member_size - Ft_size - max_marker_size; + member_size - Lt_size - max_marker_size; int rep = 0, i; int reps[num_rep_distances]; State state = 0; for( i = 0; i < num_rep_distances; ++i ) reps[i] = 0; if( Mb_data_position( &fe->eb.mb ) != 0 || - Re_member_position( &fe->eb.renc ) != Fh_size ) + Re_member_position( &fe->eb.renc ) != Lh_size ) return false; /* can be called only once */ if( !Mb_data_finished( &fe->eb.mb ) ) /* encode first byte */ |