Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-28 22:05:36 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-28 22:16:13 +0300
commitabe8b7851346e498350d5ea0ef8238a634d4d754 (patch)
tree50e137225f49242cbb91d9690857633278141e83
parenteb61c31c14107dd4b02e40977b14cbda36ab8b6b (diff)
Don't do theta RDO on intensity-stereo-coded bands
-rw-r--r--celt/bands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/bands.c b/celt/bands.c
index bab16843..703e70f9 100644
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1501,7 +1501,7 @@ void quant_all_bands(int encode, const CELTMode *m, int start, int end,
} 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;