Commit 5ff1008e authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review

Merge "Fix a msvc warning"

parents 3cbe7679 87e08f4d
......@@ -186,7 +186,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) {
// Normalize.
avg_est = (avg_est << 8) / num_samples;
// Update noise estimate.
ne->value = (3 * ne->value + avg_est) >> 2;
ne->value = (int)((3 * ne->value + avg_est) >> 2);
ne->count++;
if (ne->count == num_frames_estimate) {
// Reset counter and check noise level condition.
......
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