shithub: opus

Download patch

ref: d6eb9c468f3343768755550c250c975f405aeeaf
parent: 2924af4db0898e3bdb4572432bf9dcc69ca975c3
author: Jean-Marc Valin <[email protected]>
date: Mon Nov 25 17:33:43 EST 2013

Silences a warning in fixed-point

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -497,6 +497,8 @@
       for (i=0;i<Nu;i++)
          inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample]));
    }
+#else
+   (void)clip; /* Avoids a warning about clip being unused. */
 #endif
    m = *mem;
 #ifdef CUSTOM_MODES