Merge "Fix a boundary case in BackwardReferencesHashChainDistanceOnly." into 0.5.1

This commit is contained in:
Pascal Massimino 2016-06-20 16:06:39 +00:00 committed by Gerrit Code Review
commit 23e29cb1e3

View File

@ -1240,7 +1240,7 @@ static int BackwardReferencesHashChainDistanceOnly(
}
goto next_symbol;
}
if (len != MIN_LENGTH) {
if (len > MIN_LENGTH) {
int code_min_length;
double cost_total;
offset = HashChainFindOffset(hash_chain, i);