mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-13 15:32:53 +01:00
Merge "Fix a boundary case in BackwardReferencesHashChainDistanceOnly." into 0.5.1
This commit is contained in:
commit
23e29cb1e3
@ -1240,7 +1240,7 @@ static int BackwardReferencesHashChainDistanceOnly(
|
|||||||
}
|
}
|
||||||
goto next_symbol;
|
goto next_symbol;
|
||||||
}
|
}
|
||||||
if (len != MIN_LENGTH) {
|
if (len > MIN_LENGTH) {
|
||||||
int code_min_length;
|
int code_min_length;
|
||||||
double cost_total;
|
double cost_total;
|
||||||
offset = HashChainFindOffset(hash_chain, i);
|
offset = HashChainFindOffset(hash_chain, i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user