vp9_encodeframe.c: Silence rdmult assignment warning with a cast.
Cast result of round() to int. Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6
This commit is contained in:
parent
6224516235
commit
595985334e
@ -684,7 +684,7 @@ static void rd_pick_sb_modes(VP9_COMP *cpi, const TileInfo *const tile,
|
||||
|
||||
if (cpi->oxcf.aq_mode == VARIANCE_AQ) {
|
||||
vp9_clear_system_state();
|
||||
x->rdmult = round(x->rdmult * rdmult_ratio);
|
||||
x->rdmult = (int)round(x->rdmult * rdmult_ratio);
|
||||
} else if (cpi->oxcf.aq_mode == COMPLEXITY_AQ) {
|
||||
const int mi_offset = mi_row * cm->mi_cols + mi_col;
|
||||
unsigned char complexity = cpi->complexity_map[mi_offset];
|
||||
|
Loading…
x
Reference in New Issue
Block a user