Commit eb87b56e authored by Yaowu Xu's avatar Yaowu Xu
Browse files

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
parent 3cdd0a8e
......@@ -2257,8 +2257,8 @@ static void update_coef_probs(VP8_COMP *cpi)
/* 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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment