shithub: libvpx

Download patch

ref: 6af42f5102ad7c00d3fed389b186663a88d812ee
parent: 3227a9be5fe1fdf662fe397e6abddce3c702e671
parent: b82b574e7649f3793ef45694471894ae029a05cc
author: Jerome Jiang <jianj@google.com>
date: Thu Apr 6 23:34:54 EDT 2017

Merge "Fix compile warnings with enable-internal-stats flag."

--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -2090,11 +2090,7 @@
       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) {