]> granicus.if.org Git - libvpx/commitdiff
fixed one more compiling issue with VC
authorYaowu Xu <yaowu@google.com>
Sat, 26 May 2012 04:52:09 +0000 (21:52 -0700)
committerYaowu Xu <yaowu@google.com>
Sat, 26 May 2012 04:52:09 +0000 (21:52 -0700)
One more compiling issue, only happened in Visual C under a specific
combination of experiments.

Change-Id: Iba0775dc0ea7342b556348a9cdf60a05a59e0241

vp8/encoder/bitstream.c

index 4b1f9a7948a19faf5bb093f07744fb4746d18c12..d34aa91acec799e3ce691dbb296ab8cf861536f8 100644 (file)
@@ -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