diff options
author | Tom Finegan <tomfinegan@google.com> | 2014-02-18 18:00:09 -0800 |
---|---|---|
committer | Tom Finegan <tomfinegan@google.com> | 2014-02-20 12:01:47 -0800 |
commit | 595985334e63ec98e814f27997fdccadd7a16aa8 (patch) | |
tree | a0eb5ac1e7c45126f1dd61a4352d97b6a6ba356e | |
parent | 622451623590b8470a8c6fbaae6f0955e0e48451 (diff) | |
download | libvpx-595985334e63ec98e814f27997fdccadd7a16aa8.tar libvpx-595985334e63ec98e814f27997fdccadd7a16aa8.tar.gz libvpx-595985334e63ec98e814f27997fdccadd7a16aa8.tar.bz2 libvpx-595985334e63ec98e814f27997fdccadd7a16aa8.zip |
vp9_encodeframe.c: Silence rdmult assignment warning with a cast.
Cast result of round() to int.
Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index a2430bf7f..f4cad07d6 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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]; |