diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-01-04 06:15:16 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-01-04 06:15:16 +0400 |
commit | fa28dea7be48ed381668cf716a4fb6d2b366e3aa (patch) | |
tree | aee4d49bad2c42c445587b129a8678cbf5636dce | |
parent | e368e62092f7c7f511585757af9e16a374a1e048 (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.c | 2 |
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; } |