Merge "Removing unused fields from twopass_rc struct."
authorDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 17:27:47 +0000 (10:27 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Mon, 19 May 2014 17:27:47 +0000 (10:27 -0700)
1  2 
vp9/encoder/vp9_firstpass.c

@@@ -2149,12 -2126,10 +2130,10 @@@ void vp9_rc_get_second_pass_params(VP9_
    FIRSTPASS_STATS this_frame;
    FIRSTPASS_STATS this_frame_copy;
  
-   double this_frame_intra_error;
-   double this_frame_coded_error;
    int target;
    LAYER_CONTEXT *lc = NULL;
 -  int is_spatial_svc = (cpi->use_svc && cpi->svc.number_temporal_layers == 1);
 -
 +  const int is_spatial_svc = (cpi->use_svc &&
 +                              cpi->svc.number_temporal_layers == 1);
    if (is_spatial_svc) {
      lc = &cpi->svc.layer_context[cpi->svc.spatial_layer_id];
      frames_left = (int)(twopass->total_stats.count -