ref: 595985334e63ec98e814f27997fdccadd7a16aa8
parent: 622451623590b8470a8c6fbaae6f0955e0e48451
author: Tom Finegan <tomfinegan@google.com>
date: Tue Feb 18 13:00:09 EST 2014
vp9_encodeframe.c: Silence rdmult assignment warning with a cast. Cast result of round() to int. Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -684,7 +684,7 @@
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];
--
⑨