Index: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
index 2b740434c1abbdae940167e81ce5d41de950079b..9a1bbc16b55aafc0a062796c077fb94990f27a27 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
+++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.cc |
@@ -118,16 +118,15 @@ void RemoteBitrateEstimatorSingleStream::IncomingPacket(int64_t arrival_time_ms, |
} |
} |
-int32_t RemoteBitrateEstimatorSingleStream::Process() { |
+void RemoteBitrateEstimatorSingleStream::Process() { |
if (TimeUntilNextProcess() > 0) { |
- return 0; |
+ return; |
} |
{ |
CriticalSectionScoped cs(crit_sect_.get()); |
UpdateEstimate(clock_->TimeInMilliseconds()); |
} |
last_process_time_ = clock_->TimeInMilliseconds(); |
- return 0; |
} |
int64_t RemoteBitrateEstimatorSingleStream::TimeUntilNextProcess() { |