diff options
author | Mark Harris <mark.hsj@gmail.com> | 2018-05-28 01:09:09 -0700 |
---|---|---|
committer | Mark Harris <mark.hsj@gmail.com> | 2018-05-28 01:09:09 -0700 |
commit | d6ae25a8be0548626433aad7d6d577636231a251 (patch) | |
tree | 37cdc530d559b05109710f44b26d0365336bd9c1 | |
parent | 697beca22dcdf04ee7720218741f34a7ec0bb86d (diff) | |
download | libopus-d6ae25a8be0548626433aad7d6d577636231a251.tar.gz |
Fix DISABLE_FLOAT_API unused parameter warning
-rw-r--r-- | celt/celt_encoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c index 66b5f00d..adf8573a 100644 --- a/celt/celt_encoder.c +++ b/celt/celt_encoder.c @@ -1222,6 +1222,8 @@ static int run_prefilter(CELTEncoder *st, celt_sig *in, celt_sig *prefilter_mem, #ifndef DISABLE_FLOAT_API if (analysis->valid) gain1 *= analysis->max_pitch_ratio; +#else + (void)analysis; #endif /* Gain threshold for enabling the prefilter/postfilter */ pf_threshold = QCONST16(.2f,15); |