mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
enc/quant.c: silence a warning
score_t -> int: rd_i4.H contains a value from a uint16_t lookup Change-Id: I7227de2dfab74b4f796abbc47955197ffa0e6110
This commit is contained in:
parent
399cd4568b
commit
10fddf53bb
@ -877,7 +877,7 @@ static int PickBestIntra4(VP8EncIterator* const it, VP8ModeScore* const rd) {
|
||||
if (rd_best.score >= rd->score) {
|
||||
return 0;
|
||||
}
|
||||
total_header_bits += rd_i4.H; // <- equal to mode_costs[best_mode];
|
||||
total_header_bits += (int)rd_i4.H; // <- equal to mode_costs[best_mode];
|
||||
if (total_header_bits > enc->max_i4_header_bits_) {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user