ref: 4503261d0f055a4a2ba7bd1c05035a5759912857
parent: cdcb2f7d2bde62759cc14cc40efd8f304218008e
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Fri Feb 16 07:36:17 EST 2018
Forgot one RFC8251 behaviour to disable with --disable-rfc8251 Reported by daddesio in #opus
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1621,8 +1621,10 @@
ctx = ctx_save;
OPUS_COPY(X, X_save, N);
OPUS_COPY(Y, Y_save, N);
+#ifndef DISABLE_UPDATE_DRAFT
if (i == start+1)
special_hybrid_folding(m, norm, norm2, start, M, dual_stereo);
+#endif
/* Encode and round up. */
ctx.theta_round = 1;
x_cm = quant_band_stereo(&ctx, X, Y, N, b, B,