Index: webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.c |
diff --git a/webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.c b/webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.c |
index 03847018e3daa7aaa10a6e96f40ea99ed1d00160..02fa80b05628456e0c2062d80eba5554ba978d03 100644 |
--- a/webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.c |
+++ b/webrtc/common_audio/signal_processing/filter_ar_fast_q12_mips.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" |
void WebRtcSpl_FilterARFastQ12(const int16_t* data_in, |
@@ -25,8 +25,8 @@ void WebRtcSpl_FilterARFastQ12(const int16_t* data_in, |
int min16 = 0xFFFF8000; |
#endif // #if !defined(MIPS_DSP_R1_LE) |
- assert(data_length > 0); |
- assert(coefficients_length > 1); |
+ RTC_DCHECK_GT(data_length, 0); |
+ RTC_DCHECK_GT(coefficients_length, 1); |
__asm __volatile ( |
".set push \n\t" |