From de782180b04adf606708a86567988fd64360aa3b Mon Sep 17 00:00:00 2001 From: "jiayl@webrtc.org" Date: Wed, 12 Feb 2014 19:19:23 +0000 Subject: [PATCH] Change the type of propagation delta from int64 to int. The delta value never exceeds the range of int. Changing it to int will save memory and copying cost. BUG=2910 R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/8549004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5537 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../include/remote_bitrate_estimator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h index 9f436e2bd..a68879acd 100644 --- a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h +++ b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h @@ -48,11 +48,11 @@ struct ReceiveBandwidthEstimatorStats { // |total_propagation_time_delta_ms| is the sum of the propagation_time_deltas // of all received frames, except that it's is adjusted to 0 when it becomes // negative. - int64_t total_propagation_time_delta_ms; + int total_propagation_time_delta_ms; // The propagation_time_deltas for the frames arrived in the last // kProcessIntervalMs using the clock passed to // RemoteBitrateEstimatorFactory::Create. - std::vector recent_propagation_time_delta_ms; + std::vector recent_propagation_time_delta_ms; // The arrival times for the frames arrived in the last kProcessIntervalMs // using the clock passed to RemoteBitrateEstimatorFactory::Create. std::vector recent_arrival_time_ms;