Index: webrtc/common_audio/signal_processing/filter_ar_fast_q12.c |
diff --git a/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c b/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c |
index 70001a088272ab450501e7d49637d27f41508f40..53e800bc636196d78dad885ceeba7bc444697682 100644 |
--- a/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c |
+++ b/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c |
@@ -7,8 +7,8 @@ |
* in the file PATENTS. All contributing project authors may |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include <assert.h> |
+#include "webrtc/base/checks.h" |
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" |
// TODO(bjornv): Change the return type to report errors. |
@@ -21,8 +21,8 @@ void WebRtcSpl_FilterARFastQ12(const int16_t* data_in, |
size_t i = 0; |
size_t j = 0; |
- assert(data_length > 0); |
- assert(coefficients_length > 1); |
+ RTC_DCHECK_GT(data_length, 0); |
+ RTC_DCHECK_GT(coefficients_length, 1); |
for (i = 0; i < data_length; i++) { |
int32_t output = 0; |