shithub: opus

Download patch

ref: e30e9a7609d72f59fbb6d8b370dbca1b39a9587c
parent: c3563be66f16a5c84ba400eea4ee119ced0789fb
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Mon Jul 4 11:44:30 EDT 2016

Fix folding bug in draft too

--- a/doc/draft-ietf-codec-opus-update.xml
+++ b/doc/draft-ietf-codec-opus-update.xml
@@ -298,7 +298,7 @@
           while(M*eBands[--fold_start] > effective_lowband);
           fold_end = lowband_offset-1;
 -         while(M*eBands[++fold_end] < effective_lowband+N);
-+         while(++fold_end < i && M*eBands[++fold_end] < \
++         while(++fold_end < i && M*eBands[fold_end] < \
 effective_lowband+N);
           x_cm = y_cm = 0;
           fold_i = fold_start; do {