mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 21:58:22 +01:00
Merge "fix double to float conversion warning"
This commit is contained in:
commit
1a27f2f808
@ -552,7 +552,7 @@ static int BackwardReferencesHashChainDistanceOnly(
|
|||||||
cost_val += GetLiteralCost(cost_model, argb[i]) * mul1;
|
cost_val += GetLiteralCost(cost_model, argb[i]) * mul1;
|
||||||
}
|
}
|
||||||
if (cost[i] > cost_val) {
|
if (cost[i] > cost_val) {
|
||||||
cost[i] = cost_val;
|
cost[i] = (float)cost_val;
|
||||||
dist_array[i] = 1; // only one is inserted.
|
dist_array[i] = 1; // only one is inserted.
|
||||||
}
|
}
|
||||||
if (use_color_cache) VP8LColorCacheInsert(&hashers, argb[i]);
|
if (use_color_cache) VP8LColorCacheInsert(&hashers, argb[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user