shithub: libvpx

Download patch

ref: 09a97012720200aa93b5871ef9014f57246e73b9
parent: f66747fe38bdda27dd197676087ae09d9303b3ef
parent: 2722cfb4b8cfc1c16c6e956956b48abb2bdc9316
author: Paul Wilkins <paulwilkins@google.com>
date: Tue May 29 06:06:49 EDT 2012

Merge "fixed one more compiling issue with VC" into experimental

--- 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