Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc
diff --git a/webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc b/webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc
index d0c031e89066da6055e9a8b1bbdc72b912defbf7..1819d59d96d305fbbd3c0e7d024d74d62fd19ded 100644
--- a/webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc
+++ b/webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.cc
@@ -92,7 +92,7 @@ Packet* AcmSendTestOldApi::NextPacket() {
}
data_to_send_ = false;
CHECK_GE(acm_->Add10MsData(input_frame_), 0);
- input_frame_.timestamp_ += input_block_size_samples_;
+ input_frame_.timestamp_ += static_cast<uint32_t>(input_block_size_samples_);
if (data_to_send_) {
// Encoded packet received.
return CreatePacket();

Powered by Google App Engine
This is Rietveld 408576698