diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c index 029a8c4cb..f246c05dd 100644 --- a/celt/celt_encoder.c +++ b/celt/celt_encoder.c @@ -2073,7 +2073,7 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, /* Band normalisation */ normalise_bands(mode, freq, X, bandE, effEnd, C, M); - enable_tf_analysis = effectiveBytes>=15*C && !hybrid && st->complexity>=2 && !st->lfe; + enable_tf_analysis = effectiveBytes>=15*C && !hybrid && st->complexity>=2 && !st->lfe && toneishness < QCONST32(.98f, 29); ALLOC(offsets, nbEBands, int); ALLOC(importance, nbEBands, int);