ref: abe8b7851346e498350d5ea0ef8238a634d4d754
parent: eb61c31c14107dd4b02e40977b14cbda36ab8b6b
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Thu Jul 28 11:05:36 EDT 2016
Don't do theta RDO on intensity-stereo-coded bands
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1501,7 +1501,7 @@
} else {
if (Y!=NULL)
{
- if (theta_rdo)
+ if (theta_rdo && i < intensity)
{
ec_ctx ec_save, ec_save2;
struct band_ctx ctx_save, ctx_save2;