Index: webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c |
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c b/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c |
index 20f80aefec74ebd801326da165db1065a36457e2..5dd6e8fe97906e95e1558e801c217bd9d4cf14c7 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c |
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c |
@@ -14,7 +14,8 @@ |
// C code is at end of this file. |
#include <arm_neon.h> |
-#include <assert.h> |
+ |
+#include "webrtc/base/checks.h" |
void WebRtcIsacfix_AllpassFilter2FixDec16Neon( |
int16_t* data_ch1, // Input and output in channel 1, in Q0 |
@@ -24,7 +25,7 @@ void WebRtcIsacfix_AllpassFilter2FixDec16Neon( |
const int length, // Length of the data buffers |
int32_t* filter_state_ch1, // Filter state for channel 1, in Q16 |
int32_t* filter_state_ch2) { // Filter state for channel 2, in Q16 |
- assert(length % 2 == 0); |
+ RTC_DCHECK_EQ(0, length % 2); |
int n = 0; |
int16x4_t factorv; |
int16x4_t datav; |