Chromium Code Reviews

Unified Diff: webrtc/common_audio/signal_processing/complex_fft.c

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Attempted test fix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/common_audio/signal_processing/complex_fft.c
diff --git a/webrtc/common_audio/signal_processing/complex_fft.c b/webrtc/common_audio/signal_processing/complex_fft.c
index aaeda52ad9794132287d0fdcd70b7571548dd3ba..f21b7d8730416cfa8b7c839b5f77470c535f1e4b 100644
--- a/webrtc/common_audio/signal_processing/complex_fft.c
+++ b/webrtc/common_audio/signal_processing/complex_fft.c
@@ -181,7 +181,7 @@ int WebRtcSpl_ComplexIFFT(int16_t frfi[], int stages, int mode)
shift = 0;
round2 = 8192;
- tmp32 = (int32_t)WebRtcSpl_MaxAbsValueW16(frfi, 2 * n);
+ tmp32 = WebRtcSpl_MaxAbsValueW16(frfi, 2 * n);
if (tmp32 > 13573)
{
shift++;

Powered by Google App Engine