| Index: webrtc/modules/audio_coding/main/acm2/acm_receiver.cc
|
| diff --git a/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc
|
| index f9cf89a9ede1b8c6c27edea469fc733f5524849b..ae5a04f25e05aebd80ac21d6b222929e1b3ba896 100644
|
| --- a/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc
|
| +++ b/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc
|
| @@ -461,8 +461,8 @@ int AcmReceiver::GetAudio(int desired_freq_hz, AudioFrame* audio_frame) {
|
| // |audio_frame|.
|
| uint32_t playout_timestamp = 0;
|
| if (GetPlayoutTimestamp(&playout_timestamp)) {
|
| - audio_frame->timestamp_ =
|
| - playout_timestamp - audio_frame->samples_per_channel_;
|
| + audio_frame->timestamp_ = playout_timestamp -
|
| + static_cast<uint32_t>(audio_frame->samples_per_channel_);
|
| } else {
|
| // Remain 0 until we have a valid |playout_timestamp|.
|
| audio_frame->timestamp_ = 0;
|
|
|