/* internal globals */
typedef struct {
unsigned int oldval;
- unsigned int gbuf1[8];
+ unsigned int gbuf1[4];
unsigned short gbuf2[120];
unsigned int *decptr; /* decoder ptr */
signed short *decsp;
short *ptr,*end;
*(glob->decptr++) = rms(data, f);
- glob->decptr++;
end = (ptr = glob->decsp) + (n * 10);
while (ptr < end)
dec1(glob, data, inp, n, f);
} else {
*(glob->decptr++) = rms(work, f);
- glob->decptr++;
}
glob->decsp += n * 10;
}
/* do output */
for (b=0, c=0; c<4; c++) {
- unsigned int gval = glob->gbuf1[c * 2];
+ unsigned int gval = glob->gbuf1[c];
unsigned short *gsp = glob->gbuf2 + b;
signed short output_buffer[40];