diff options
author | Andy Hung <hunga@google.com> | 2013-12-30 10:34:29 -0800 |
---|---|---|
committer | Andy Hung <hunga@google.com> | 2013-12-30 10:36:19 -0800 |
commit | 523476a40b40857ca44cb6fab933469cd3598425 (patch) | |
tree | 5a40a1fa3643437003a6189336cd83d7fe9dc4bb /tools/resampler_tools/fir.cpp | |
parent | 04143e411f18557579651a41de8f20edc2f8856a (diff) | |
download | frameworks_av-523476a40b40857ca44cb6fab933469cd3598425.zip frameworks_av-523476a40b40857ca44cb6fab933469cd3598425.tar.gz frameworks_av-523476a40b40857ca44cb6fab933469cd3598425.tar.bz2 |
Fix for Change 396851
Fix a typo in a variable name.
Change-Id: I2555f729fc22b9c158ae488c8cefde029fa244cb
Signed-off-by: Andy Hung <hunga@google.com>
Diffstat (limited to 'tools/resampler_tools/fir.cpp')
-rw-r--r-- | tools/resampler_tools/fir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/resampler_tools/fir.cpp b/tools/resampler_tools/fir.cpp index 27a9b05..3d6a74d 100644 --- a/tools/resampler_tools/fir.cpp +++ b/tools/resampler_tools/fir.cpp @@ -32,7 +32,7 @@ static inline double sqr(double x) { static inline int64_t toint(double x, int64_t maxval) { int64_t v; - v = static_cast<int64_t>(floor(y * maxval + 0.5)); + v = static_cast<int64_t>(floor(x * maxval + 0.5)); if (v >= maxval) { return maxval - 1; // error! } |