Index: webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc |
diff --git a/webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc b/webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc |
index 016acde402d8b13a160206e5edd88e7a7f7e3201..dc07030dd688a2a543bfa7d7d716e426e24ffd7b 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc |
+++ b/webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.cc |
@@ -32,11 +32,11 @@ ConstantPcmPacketSource::ConstantPcmPacketSource(size_t payload_len_samples, |
timestamp_(0), |
payload_ssrc_(0xABCD1234) { |
size_t encoded_len = WebRtcPcm16b_Encode(&sample_value, 1, encoded_sample_); |
- CHECK_EQ(2U, encoded_len); |
+ RTC_CHECK_EQ(2U, encoded_len); |
} |
Packet* ConstantPcmPacketSource::NextPacket() { |
- CHECK_GT(packet_len_bytes_, kHeaderLenBytes); |
+ RTC_CHECK_GT(packet_len_bytes_, kHeaderLenBytes); |
uint8_t* packet_memory = new uint8_t[packet_len_bytes_]; |
// Fill the payload part of the packet memory with the pre-encoded value. |
for (unsigned i = 0; i < 2 * payload_len_samples_; ++i) |