From 82af82644b8f62ca2b6ee08a73b0fbd077e5d7e3 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 3 Mar 2014 23:53:08 +0100 Subject: [PATCH] few cosmetics after patch #69079 Change-Id: Ifa758420421b5a05825a593f6b43504887603ee7 --- 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 8922b384..2b0964ad 100644 --- a/src/enc/quant.c +++ b/src/enc/quant.c @@ -636,10 +636,10 @@ static int TrellisQuantizeBlock(const VP8EncIterator* const it, // Base cost of both terminal / non-terminal hypothesis const score_t cost = VP8LevelCost(prev->costs, level); // Examine node assuming it's a non-terminal one. - score_t score = + const score_t score = base_score + prev->score + RDScoreTrellis(lambda, cost, 0); if (score < cur->score) { - cur->score = score; + cur->score = score; cur->prev = p; } }