From 6121413415fd33d32132d82c0772e81984575a67 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Wed, 15 Apr 2015 01:56:31 -0700 Subject: [PATCH] remove VP8Residual::cost unused field Change-Id: Id494475b05c540b40fd104594acbcaa783b88d77 --- src/enc/cost.c | 1 - src/enc/cost.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/enc/cost.c b/src/enc/cost.c index 2344ff8c..ae7fe013 100644 --- a/src/enc/cost.c +++ b/src/enc/cost.c @@ -208,7 +208,6 @@ void VP8InitResidual(int first, int coeff_type, res->coeff_type = coeff_type; res->prob = enc->proba_.coeffs_[coeff_type]; res->stats = enc->proba_.stats_[coeff_type]; - res->cost = enc->proba_.level_cost_[coeff_type]; res->costs = enc->proba_.remapped_costs_[coeff_type]; res->first = first; } diff --git a/src/enc/cost.h b/src/enc/cost.h index 73ddd941..20960d6d 100644 --- a/src/enc/cost.h +++ b/src/enc/cost.h @@ -33,7 +33,6 @@ struct VP8Residual { int coeff_type; ProbaArray* prob; StatsArray* stats; - CostArray* cost; // TODO(skal): remove in favor of *costs CostArrayPtr costs; };