Resampler: Fix initialization return checking
Greater-than comparison was used on boolean type. Change-Id: Ia3b71b3a06b34a6fd781bf197ecf9d5cc1711d13
This commit is contained in:
parent
e0c12189d4
commit
9d53ecf666
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue