shithub: libvpx

Download patch

ref: 2722cfb4b8cfc1c16c6e956956b48abb2bdc9316
parent: ea0e4f1743e4b6f2c4ae2b475d046630dbb93316
author: Yaowu Xu <yaowu@google.com>
date: Fri May 25 17:52:09 EDT 2012

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

--- a/vp8/encoder/bitstream.c
+++ b/vp8/encoder/bitstream.c
@@ -2064,8 +2064,8 @@
                         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