diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2022-07-05 21:58:02 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2022-07-05 21:58:02 -0400 |
commit | 271d48814912a23c7f9443bc81055cbf58ff355b (patch) | |
tree | 5de2577fa2aa864715ebc353ba86eefb5b3580e4 | |
parent | bfebf824addf8027ae60dee6ef271980b283a9c1 (diff) | |
download | opus-271d48814912a23c7f9443bc81055cbf58ff355b.tar.gz |
Fix warning with --disable-rfc8251
-rw-r--r-- | celt/bands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/bands.c b/celt/bands.c index bd54036a..5320ffab 100644 --- a/celt/bands.c +++ b/celt/bands.c @@ -1380,6 +1380,7 @@ static unsigned quant_band_stereo(struct band_ctx *ctx, celt_norm *X, celt_norm return cm; } +#ifndef DISABLE_UPDATE_DRAFT static void special_hybrid_folding(const CELTMode *m, celt_norm *norm, celt_norm *norm2, int start, int M, int dual_stereo) { int n1, n2; @@ -1392,6 +1393,7 @@ static void special_hybrid_folding(const CELTMode *m, celt_norm *norm, celt_norm if (dual_stereo) OPUS_COPY(&norm2[n1], &norm2[2*n1 - n2], n2-n1); } +#endif void quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm *X_, celt_norm *Y_, unsigned char *collapse_masks, |