diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-02-16 12:36:17 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2018-02-18 02:15:49 -0500 |
commit | 4503261d0f055a4a2ba7bd1c05035a5759912857 (patch) | |
tree | a6d3fd9a2a3ef099aa2ecc1eca1b9f0aa37ebc5f /celt | |
parent | cdcb2f7d2bde62759cc14cc40efd8f304218008e (diff) | |
download | opus-4503261d0f055a4a2ba7bd1c05035a5759912857.tar.gz |
Forgot one RFC8251 behaviour to disable with --disable-rfc8251
Reported by daddesio in #opus
Diffstat (limited to 'celt')
-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 807352fe..19a5f1af 100644 --- a/celt/bands.c +++ b/celt/bands.c @@ -1621,8 +1621,10 @@ void quant_all_bands(int encode, const CELTMode *m, int start, int end, 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, |