ref: 5ff1008ed942a85c445f47f4b661d52756549719
parent: 3cbe7679727c43cd4fee2b708fd97a5a475a1c58
parent: 87e08f4d9fa474ef5a4c7e57df233494d1429346
author: Yaowu Xu <[email protected]>
date: Tue Nov 3 16:56:25 EST 2015
Merge "Fix a msvc warning"
--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -186,7 +186,7 @@
// 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.