shithub: opus

Download patch

ref: 69c3dcd105432a72220478cbde851cc7917e5768
parent: 3ecd9c20cbc77e83dfd83c3d2e8e0640a5b50bba
author: Jean-Marc Valin <[email protected]>
date: Mon Feb 18 22:42:18 EST 2013

Fixes a bug introduced in 851f803

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1380,6 +1380,8 @@
    }
 
    compute_mdcts(mode, shortBlocks, in, freq, C, CC, LM, st->upsample);
+   if (CC==2&&C==1)
+      tf_chan = 0;
    compute_band_energies(mode, freq, bandE, effEnd, C, M);
 
    amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C);