diff options
Diffstat (limited to 'modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc')
-rw-r--r-- | modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc b/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc index a2865d9f5a..c5f51df99b 100644 --- a/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc +++ b/modules/congestion_controller/goog_cc/send_side_bandwidth_estimation.cc @@ -587,8 +587,7 @@ DataRate SendSideBandwidthEstimation::GetUpperLimit() const { DataRate upper_limit = delay_based_limit_; if (!receiver_limit_caps_only_) upper_limit = std::min(upper_limit, receiver_limit_); - upper_limit = std::min(upper_limit, max_bitrate_configured_); - return upper_limit; + return std::min(upper_limit, max_bitrate_configured_); } void SendSideBandwidthEstimation::MaybeLogLowBitrateWarning(DataRate bitrate, |