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>2013-01-04 06:15:16 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-01-04 06:15:16 +0400
commitfa28dea7be48ed381668cf716a4fb6d2b366e3aa (patch)
treeaee4d49bad2c42c445587b129a8678cbf5636dce
parente368e62092f7c7f511585757af9e16a374a1e048 (diff)
Fixes a seed issue introduced in 5367dac
Was causing the testvector to pass with lower quality, though practically there was no quality degradation.
-rw-r--r--celt/bands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/celt/bands.c b/celt/bands.c
index 61ff188a..62f0ee73 100644
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1527,6 +1527,8 @@ void quant_all_bands(int encode, const CELTMode *m, int start, int end,
/* Update the folding position only as long as we have 1 bit/sample depth. */
update_lowband = b>(N<<BITRES);
}
+ *seed = ctx.seed;
+
RESTORE_STACK;
}