Don't do theta RDO on intensity-stereo-coded bands
diff --git a/celt/bands.c b/celt/bands.c
index bab1684..703e70f 100644
--- 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;