shithub: opus

Download patch

ref: d6ae25a8be0548626433aad7d6d577636231a251
parent: 697beca22dcdf04ee7720218741f34a7ec0bb86d
author: Mark Harris <mark.hsj@gmail.com>
date: Sun May 27 21:09:09 EDT 2018

Fix DISABLE_FLOAT_API unused parameter warning

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1222,6 +1222,8 @@
 #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);