ref: 271d48814912a23c7f9443bc81055cbf58ff355b
parent: bfebf824addf8027ae60dee6ef271980b283a9c1
author: Jean-Marc Valin <[email protected]>
date: Tue Jul 5 17:58:02 EDT 2022
Fix warning with --disable-rfc8251
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1380,6 +1380,7 @@
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 @@
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,