Index: webrtc/modules/audio_processing/aec/aec_resampler.c |
diff --git a/webrtc/modules/audio_processing/aec/aec_resampler.c b/webrtc/modules/audio_processing/aec/aec_resampler.c |
index cef262edc14072e35e26f82919c605307a4d67a8..62a830ba65f49c6b81fb7668dbd3e2a45543d378 100644 |
--- a/webrtc/modules/audio_processing/aec/aec_resampler.c |
+++ b/webrtc/modules/audio_processing/aec/aec_resampler.c |
@@ -74,7 +74,8 @@ void WebRtcAec_ResampleLinear(void* resampInst, |
float be, tnew; |
int tn, mm; |
- assert(!(size < 0 || size > 2 * FRAME_LEN)); |
+ assert(size >= 0); |
+ assert(size <= 2 * FRAME_LEN); |
assert(resampInst != NULL); |
assert(inspeech != NULL); |
assert(outspeech != NULL); |