summaryrefslogtreecommitdiff
path: root/celt
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-07-06 00:50:54 -0400
committerJean-Marc Valin <jmvalin@amazon.com>2022-07-06 00:50:54 -0400
commit50407983f2f785adf55a16797e1d42741dc1295b (patch)
treebc37c507813e8a26da2be966eaa2f2fce3ff9ced /celt
parent4b8becdfc5df002701ea1dd97b37d424b12b519d (diff)
downloadopus-50407983f2f785adf55a16797e1d42741dc1295b.tar.gz
Fix warnings when compiling with FUZZING enabled
Diffstat (limited to 'celt')
-rw-r--r--celt/rate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/rate.c b/celt/rate.c
index 465e1ba2..7f7ad3fa 100644
--- a/celt/rate.c
+++ b/celt/rate.c
@@ -356,6 +356,8 @@ static OPUS_INLINE int interp_bits2pulses(const CELTMode *m, int start, int end,
else
depth_threshold = 0;
#ifdef FUZZING
+ (void)signalBandwidth;
+ (void)depth_threshold;
if ((rand()&0x1) == 0)
#else
if (codedBands<=start+2 || (band_bits > (depth_threshold*band_width<<LM<<BITRES)>>4 && j<=signalBandwidth))