summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-25 22:33:43 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-25 22:33:43 -0500
commitd6eb9c468f3343768755550c250c975f405aeeaf (patch)
tree61d3ba2a0ed9e45e2ddbf547ff51677900135b2b
parent2924af4db0898e3bdb4572432bf9dcc69ca975c3 (diff)
downloadopus-d6eb9c468f3343768755550c250c975f405aeeaf.tar.gz
Silences a warning in fixed-pointv1.1-rc
-rw-r--r--celt/celt_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index bbd30e9e..91c12123 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -497,6 +497,8 @@ void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RES
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