| Index: webrtc/common_audio/real_fourier.cc
|
| diff --git a/webrtc/common_audio/real_fourier.cc b/webrtc/common_audio/real_fourier.cc
|
| index dec2be6d60b8e70e63f82b6362051e9b99fa626b..30c8ee397d9473b52fed9d64ab79da0cc60e9c0d 100644
|
| --- a/webrtc/common_audio/real_fourier.cc
|
| +++ b/webrtc/common_audio/real_fourier.cc
|
| @@ -40,8 +40,7 @@ int RealFourier::FftLength(int order) {
|
| }
|
|
|
| int RealFourier::ComplexLength(int order) {
|
| - CHECK_GE(order, 0);
|
| - return (1 << order) / 2 + 1;
|
| + return FftLength(order) / 2 + 1;
|
| }
|
|
|
| RealFourier::fft_real_scoper RealFourier::AllocRealBuffer(int count) {
|
|
|