Index: webrtc/common_audio/wav_header.cc |
diff --git a/webrtc/common_audio/wav_header.cc b/webrtc/common_audio/wav_header.cc |
index fefbee0507334a79b4673eac7c96424ca014188b..61cfffe62cd20e69d36233ae77456c73308c9bd6 100644 |
--- a/webrtc/common_audio/wav_header.cc |
+++ b/webrtc/common_audio/wav_header.cc |
@@ -151,8 +151,8 @@ void WriteWavHeader(uint8_t* buf, |
WavFormat format, |
int bytes_per_sample, |
uint32_t num_samples) { |
- CHECK(CheckWavParameters(num_channels, sample_rate, format, |
- bytes_per_sample, num_samples)); |
+ RTC_CHECK(CheckWavParameters(num_channels, sample_rate, format, |
+ bytes_per_sample, num_samples)); |
WavHeader header; |
const uint32_t bytes_in_payload = bytes_per_sample * num_samples; |