Index: webrtc/modules/audio_coding/codecs/audio_encoder.cc |
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.cc b/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
index c0c20bec4d041361f905ec8e39f05ba5e7009946..6d763005acc4dd3b7b72d45a320ec4b29ae3b049 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
+++ b/webrtc/modules/audio_coding/codecs/audio_encoder.cc |
@@ -26,11 +26,11 @@ AudioEncoder::EncodedInfo AudioEncoder::Encode(uint32_t rtp_timestamp, |
size_t num_samples_per_channel, |
size_t max_encoded_bytes, |
uint8_t* encoded) { |
- CHECK_EQ(num_samples_per_channel, |
- static_cast<size_t>(SampleRateHz() / 100)); |
+ RTC_CHECK_EQ(num_samples_per_channel, |
+ static_cast<size_t>(SampleRateHz() / 100)); |
EncodedInfo info = |
EncodeInternal(rtp_timestamp, audio, max_encoded_bytes, encoded); |
- CHECK_LE(info.encoded_bytes, max_encoded_bytes); |
+ RTC_CHECK_LE(info.encoded_bytes, max_encoded_bytes); |
return info; |
} |