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:
James Zern 2013-09-11 00:04:11 -07:00
parent 399cd4568b
commit 10fddf53bb

View File

@ -877,7 +877,7 @@ static int PickBestIntra4(VP8EncIterator* const it, VP8ModeScore* const rd) {
if (rd_best.score >= rd->score) { if (rd_best.score >= rd->score) {
return 0; 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_) { if (total_header_bits > enc->max_i4_header_bits_) {
return 0; return 0;
} }