Commit 0889e2ac authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Getting the right DoFs for dual stereo

parent 9cc56bf0
......@@ -448,7 +448,7 @@ static inline int interp_bits2pulses(const CELTMode *m, int start, int end, int
bits[j] -= excess;
/* Compensate for the extra DoF in stereo */
den=(C*N+ ((C==2 && N>2) ? 1 : 0));
den=(C*N+ ((C==2 && N>2 && !*dual_stereo) ? 1 : 0));
NClogN = den*(m->logN[j] + logM);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment