summaryrefslogtreecommitdiffstats
path: root/fast_encoder.c
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-05-29 17:17:06 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-05-29 17:17:06 +0000
commitb16de3164ab0d9f55adc5575b46f96c7e92f26f6 (patch)
tree1fce37f4d8499fbf261ad6fb9bb58f3547e9d01f /fast_encoder.c
parentAdding upstream version 1.7. (diff)
downloadclzip-b16de3164ab0d9f55adc5575b46f96c7e92f26f6.tar.xz
clzip-b16de3164ab0d9f55adc5575b46f96c7e92f26f6.zip
Adding upstream version 1.8.upstream/1.8
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'fast_encoder.c')
-rw-r--r--fast_encoder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fast_encoder.c b/fast_encoder.c
index 211f74d..941c0e2 100644
--- a/fast_encoder.c
+++ b/fast_encoder.c
@@ -1,5 +1,5 @@
/* Clzip - LZMA lossless data compressor
- Copyright (C) 2010-2015 Antonio Diaz Diaz.
+ Copyright (C) 2010-2016 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
@@ -43,7 +43,6 @@ int FLZe_longest_match_len( struct FLZ_encoder * const fe, int * const distance
newpos = fe->eb.mb.prev_positions[fe->key4];
fe->eb.mb.prev_positions[fe->key4] = pos1;
-
for( count = 4; ; )
{
if( --count < 0 || newpos <= 0 ) { *ptr0 = 0; break; }