ref: 15e95086e2b73bd55c633aaa81ac30a45060f8d9
parent: fd402e1374531ebdb4ddc59a16dd76c7ee07215e
author: Tom Finegan <[email protected]>
date: Tue Feb 18 13:04:13 EST 2014
vp9_encodeframe.c: Silence totalrate assignment warning with a cast. Cast result of round() to int. Change-Id: I4982886ad4e7657b4c40d21bd850d31690a68c28
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -714,7 +714,7 @@
x->rdmult = orig_rdmult;
if (*totalrate != INT_MAX) {
vp9_clear_system_state();
- *totalrate = round(*totalrate * rdmult_ratio);
+ *totalrate = (int)round(*totalrate * rdmult_ratio);
}
}
else if (cpi->oxcf.aq_mode == COMPLEXITY_AQ) {