Commit 422f97d7 authored by John Koleszar's avatar John Koleszar Committed by Gerrit Code Review
Browse files

Merge "fix potential use of uninitialized rate_y"

parents 6b66c01c 20cd3e6b
......@@ -763,7 +763,7 @@ static int rd_pick_intra4x4mby_modes(VP8_COMP *cpi, MACROBLOCK *mb, int *Rate,
return INT_MAX;
*Rate = cost;
*rate_y += tot_rate_y;
*rate_y = tot_rate_y;
*Distortion = distortion;
return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
......
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