Index: webrtc/common_audio/fir_filter_sse.cc |
diff --git a/webrtc/common_audio/fir_filter_sse.cc b/webrtc/common_audio/fir_filter_sse.cc |
index 89abb00ba4348168d759fda43f73799411cc787a..308eeb676f44f41d045719b05286960acdba83c6 100644 |
--- a/webrtc/common_audio/fir_filter_sse.cc |
+++ b/webrtc/common_audio/fir_filter_sse.cc |
@@ -10,11 +10,11 @@ |
#include "webrtc/common_audio/fir_filter_sse.h" |
-#include <assert.h> |
#include <stdint.h> |
#include <string.h> |
#include <xmmintrin.h> |
+#include "webrtc/base/checks.h" |
#include "webrtc/system_wrappers/include/aligned_malloc.h" |
namespace webrtc { |
@@ -44,7 +44,7 @@ FIRFilterSSE2::FIRFilterSSE2(const float* coefficients, |
} |
void FIRFilterSSE2::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)); |