Index: webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc b/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc |
index 2f6e3305ac4a4a91c670a60d044db599912b67fc..cf7df2673be3fb232ef33ed3a04056554203dc20 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_estimator.cc |
@@ -146,8 +146,8 @@ void OveruseEstimator::UpdateNoiseEstimate(double residual, |
+ (1 - beta) * residual; |
var_noise_ = beta * var_noise_ |
+ (1 - beta) * (avg_noise_ - residual) * (avg_noise_ - residual); |
- if (var_noise_ < 1e-7) { |
- var_noise_ = 1e-7; |
+ if (var_noise_ < 1) { |
+ var_noise_ = 1; |
} |
} |
} // namespace webrtc |