From: Yaowu Xu Date: Sat, 26 May 2012 04:52:09 +0000 (-0700) Subject: fixed one more compiling issue with VC X-Git-Tag: v1.3.0~1217^2~379^2~25^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2722cfb4b8cfc1c16c6e956956b48abb2bdc9316;p=libvpx 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 --- 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