diff options
author | Jerome Jiang <jianj@google.com> | 2017-04-06 13:07:53 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2017-04-06 14:00:01 -0700 |
commit | b82b574e7649f3793ef45694471894ae029a05cc (patch) | |
tree | 0e168b95f6db1f6e57d9ba28f20007aa7ad48c2d /vp8 | |
parent | c9fbb1881a1323272d9afac23a4988c6905a6322 (diff) | |
download | libvpx-b82b574e7649f3793ef45694471894ae029a05cc.tar libvpx-b82b574e7649f3793ef45694471894ae029a05cc.tar.gz libvpx-b82b574e7649f3793ef45694471894ae029a05cc.tar.bz2 libvpx-b82b574e7649f3793ef45694471894ae029a05cc.zip |
Fix compile warnings with enable-internal-stats flag.
BUG=webm:1402
Change-Id: Ibe9ecb1b559a4b989f6ccedbd097e369f6edde1e
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/encoder/onyx_if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 0a1e1bbc7..64d177581 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -2090,11 +2090,7 @@ void vp8_remove_compressor(VP8_COMP **ptr) { double time_encoded = (cpi->last_end_time_stamp_seen - cpi->first_time_stamp_ever) / 10000000.000; - double total_encode_time = - (cpi->time_receive_data + cpi->time_compress_data) / 1000.000; double dr = (double)cpi->bytes * 8.0 / 1000.0 / time_encoded; - const double target_rate = (double)cpi->oxcf.target_bandwidth / 1000; - const double rate_err = ((100.0 * (dr - target_rate)) / target_rate); if (cpi->b_calculate_psnr) { if (cpi->oxcf.number_of_layers > 1) { |