Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
index b1629410fc545a351fc4e34e833bc12555d1b1de..fe1b9de683c2678a75e8b462b972a87c73af67f8 100644 |
--- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
+++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc |
@@ -98,7 +98,7 @@ AudioEncoder::EncodedInfo AudioEncoderCng::EncodeImpl( |
if (rtp_timestamps_.size() < frames_to_encode) { |
return EncodedInfo(); |
} |
- RTC_CHECK_LE(static_cast<int>(frames_to_encode * 10), kMaxFrameSizeMs) |
+ RTC_CHECK_LE(frames_to_encode * 10, kMaxFrameSizeMs) |
<< "Frame size cannot be larger than " << kMaxFrameSizeMs |
<< " ms when using VAD/CNG."; |