| Index: webrtc/common_audio/fir_filter_neon.cc
|
| diff --git a/webrtc/common_audio/fir_filter_neon.cc b/webrtc/common_audio/fir_filter_neon.cc
|
| index a81562655b75298aa3e5d94a1d4415e37ac231d9..54e58d0d7a461f7b2f277c08f549db16bee80d9c 100644
|
| --- a/webrtc/common_audio/fir_filter_neon.cc
|
| +++ b/webrtc/common_audio/fir_filter_neon.cc
|
| @@ -11,9 +11,9 @@
|
| #include "webrtc/common_audio/fir_filter_neon.h"
|
|
|
| #include <arm_neon.h>
|
| -#include <assert.h>
|
| #include <string.h>
|
|
|
| +#include "webrtc/base/checks.h"
|
| #include "webrtc/system_wrappers/include/aligned_malloc.h"
|
|
|
| namespace webrtc {
|
| @@ -43,7 +43,7 @@ FIRFilterNEON::FIRFilterNEON(const float* coefficients,
|
| }
|
|
|
| void FIRFilterNEON::Filter(const float* in, size_t length, float* out) {
|
| - assert(length > 0);
|
| + RTC_DCHECK_GT(length, 0);
|
|
|
| memcpy(&state_[state_length_], in, length * sizeof(*in));
|
|
|
|
|