mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
backward_references: quiet double->int warning
since:
059aab4
Fix a compression regression for images with long uniform
regions.
Change-Id: I1783a74220961e8bc3bb42696e3412fe4bfc4ddb
This commit is contained in:
parent
a48cc9d201
commit
6fda58f137
@ -1162,7 +1162,7 @@ static int BackwardReferencesHashChainDistanceOnly(
|
||||
if (offset_cost == 0.) {
|
||||
j_max = 1;
|
||||
} else {
|
||||
j_max = ceil(cost_manager->min_cost_cache_ / offset_cost);
|
||||
j_max = (int)ceil(cost_manager->min_cost_cache_ / offset_cost);
|
||||
}
|
||||
|
||||
// With the values we currently use for the model, offset_cost is
|
||||
|
Loading…
Reference in New Issue
Block a user