summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2012-05-29 10:06:49 +0000
committerOn2 (Google) Code Review <on2-gerrit@google.com>2012-05-29 10:06:49 +0000
commit09a97012720200aa93b5871ef9014f57246e73b9 (patch)
treea5126e0bc4b9c9cf1465c1f1cf8abfba8c7e0d72
parentf66747fe38bdda27dd197676087ae09d9303b3ef (diff)
parent2722cfb4b8cfc1c16c6e956956b48abb2bdc9316 (diff)
downloadlibvpx-09a97012720200aa93b5871ef9014f57246e73b9.tar
libvpx-09a97012720200aa93b5871ef9014f57246e73b9.tar.gz
libvpx-09a97012720200aa93b5871ef9014f57246e73b9.tar.bz2
libvpx-09a97012720200aa93b5871ef9014f57246e73b9.zip
Merge "fixed one more compiling issue with VC" into experimental
-rw-r--r--vp8/encoder/bitstream.c4
1 files 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