shithub: opus

Download patch

ref: fa28dea7be48ed381668cf716a4fb6d2b366e3aa
parent: e368e62092f7c7f511585757af9e16a374a1e048
author: Jean-Marc Valin <[email protected]>
date: Thu Jan 3 16:15:16 EST 2013

Fixes a seed issue introduced in 5367dac

Was causing the testvector to pass with lower quality, though
practically there was no quality degradation.

--- a/celt/bands.c
+++ b/celt/bands.c
@@ -1527,6 +1527,8 @@
       /* Update the folding position only as long as we have 1 bit/sample depth. */
       update_lowband = b>(N<<BITRES);
    }
+   *seed = ctx.seed;
+
    RESTORE_STACK;
 }