ref: eb87b56eab32116536cd33866592e6d23b888299
parent: 3cdd0a8e75111393bc1d03da6c0c2ca01c959b92
author: Yaowu Xu <yaowu@google.com>
date: Mon Feb 27 13:23:15 EST 2012
fixed a wrong intialization value The "update" variable was used as a flag in coef_prob update dry run that tests if a frame should encodes update at all. The wrong init value forced the update happening always. fixing this has a minor improvement in low bit rate situation when 8x8 transform is allowed. Change-Id: Icb498e8d6a62fd074dcbc2065b797cba9237cb51
--- a/vp8/encoder/bitstream.c
+++ b/vp8/encoder/bitstream.c
@@ -2257,8 +2257,8 @@
/* do not do this if not evena allowed */
if(cpi->common.txfm_mode == ALLOW_8X8)
{
- update = 1;
/* dry run to see if update is necessary */
+ update = 0;
i = 0;
do
{