From f76d3587e5a658bf65446fd9bda58e46f69e0fe6 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Wed, 25 Jan 2012 15:50:24 -0800 Subject: [PATCH] gcc warning fix: remove the 'const' qualifier. Change-Id: I47b8f147f54072cb9b62669efd78c7b958aa5c08 --- src/enc/quant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enc/quant.c b/src/enc/quant.c index 64695204..3dc1042b 100644 --- a/src/enc/quant.c +++ b/src/enc/quant.c @@ -421,8 +421,8 @@ static int TrellisQuantizeBlock(const VP8EncIterator* const it, int ctx0, int coeff_type, const VP8Matrix* const mtx, int lambda) { - const ProbaArray* const last_costs = it->enc_->proba_.coeffs_[coeff_type]; - const CostArray* const costs = it->enc_->proba_.level_cost_[coeff_type]; + ProbaArray* const last_costs = it->enc_->proba_.coeffs_[coeff_type]; + CostArray* const costs = it->enc_->proba_.level_cost_[coeff_type]; const int first = (coeff_type == 0) ? 1 : 0; Node nodes[17][NUM_NODES]; int best_path[3] = {-1, -1, -1}; // store best-last/best-level/best-previous