Skip to content
Snippets Groups Projects
Commit e30e9a76 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fix folding bug in draft too

parent c3563be6
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ n2-n1);
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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment