From 2722cfb4b8cfc1c16c6e956956b48abb2bdc9316 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Fri, 25 May 2012 21:52:09 -0700 Subject: [PATCH] fixed one more compiling issue with VC One more compiling issue, only happened in Visual C under a specific combination of experiments. Change-Id: Iba0775dc0ea7342b556348a9cdf60a05a59e0241 --- vp8/encoder/bitstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp8/encoder/bitstream.c b/vp8/encoder/bitstream.c index 4b1f9a794..d34aa91ac 100644 --- a/vp8/encoder/bitstream.c +++ b/vp8/encoder/bitstream.c @@ -2064,8 +2064,8 @@ static void update_coef_probs(VP8_COMP *cpi) else savings -= (int)(vp8_cost_zero(upd)); #else - const int s = prob_update_savings(ct, oldp, newp, upd); - const int u = s > 0 ? 1 : 0; + s = prob_update_savings(ct, oldp, newp, upd); + u = s > 0 ? 1 : 0; if (u) savings += s; #endif -- 2.40.0