Resampler: Fix initialization return checking

Greater-than comparison was used on boolean type.

Change-Id: Ia3b71b3a06b34a6fd781bf197ecf9d5cc1711d13
This commit is contained in:
Tom Tsou 2017-03-22 13:51:33 -07:00 committed by Tom Tsou
parent e0c12189d4
commit 9d53ecf666
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ int Resampler::rotate(const float *in, size_t in_len, float *out, size_t out_len
bool Resampler::init(float bw)
{
/* Filterbank filter internals */
if (initFilters(bw) < 0)
if (!initFilters(bw))
return false;
/* Precompute filterbank paths */