diff options
author | Marco <marpan@google.com> | 2015-05-21 14:07:21 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2015-05-21 14:08:32 -0700 |
commit | 7ca17435d51111d7127586ed592480f9f85a8843 (patch) | |
tree | 51a3c164345c025ee80008a70801af687884dd37 /vp8/encoder/ratectrl.c | |
parent | da8c3bf218b36382894fc664aa2c1a1f592b7006 (diff) | |
download | libvpx-7ca17435d51111d7127586ed592480f9f85a8843.tar libvpx-7ca17435d51111d7127586ed592480f9f85a8843.tar.gz libvpx-7ca17435d51111d7127586ed592480f9f85a8843.tar.bz2 libvpx-7ca17435d51111d7127586ed592480f9f85a8843.zip |
Fix to visual studio build error.
Change-Id: Ide080141ebc064584574c861fb324fe64cc572cc
Diffstat (limited to 'vp8/encoder/ratectrl.c')
-rw-r--r-- | vp8/encoder/ratectrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index f3050d389..e8796a1fc 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -1587,7 +1587,7 @@ int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q) { // Threshold for the average (over all macroblocks) of the pixel-sum // residual error over 16x16 block. Should add QP dependence on threshold? int thresh_pred_err_mb = (256 << 4); - int pred_err_mb = cpi->mb.prediction_error / cpi->common.MBs; + int pred_err_mb = (int)(cpi->mb.prediction_error / cpi->common.MBs); if (Q < thresh_qp && cpi->projected_frame_size > thresh_rate && pred_err_mb > thresh_pred_err_mb) { |