shithub: aacenc

Download patch

ref: b62dc54bbf0ff7531b0c86ece8c7f5c68f48aa0b
parent: c621ff3bf032d0808a4696ba1a2d1fc0c0dca24f
author: menno <menno>
date: Sun Dec 19 19:02:35 EST 1999

Ooops, quick bugfix after latest changes gave an extra bug

--- a/ms.c
+++ b/ms.c
@@ -152,6 +152,7 @@
 						for (g=0;g<numGroups;g++) {
 							for (sfbNum=0;sfbNum<maxSfb;sfbNum++) {
 								b = g*maxSfb+sfbNum;
+								groupIndex = 0;
 
 								if (block_type[chan] == ONLY_SHORT_WINDOW) {
 
@@ -191,6 +192,7 @@
 						for (g=0;g<numGroups;g++) {
 							for (sfbNum=0;sfbNum<maxSfb;sfbNum++) {
 								b = g*maxSfb+sfbNum;
+								groupIndex = 0;
 
 								if (block_type[chan] == ONLY_SHORT_WINDOW) {