Fixes an off-by-one bug in the static mode's MDCT twiddles
This commit is contained in:
parent
0ff9be6aec
commit
ae035a540b
1 changed files with 2 additions and 2 deletions
|
@ -186,8 +186,8 @@ void dump_modes(FILE *file, CELTMode **modes, int nb_modes)
|
|||
fprintf(file, "#ifndef MDCT_TWIDDLES%d_%d\n", mode->Fs, mdctSize);
|
||||
fprintf(file, "#define MDCT_TWIDDLES%d_%d\n", mode->Fs, mdctSize);
|
||||
fprintf (file, "static const celt_word16 mdct_twiddles%d_%d[%d] = {\n",
|
||||
mode->Fs, mdctSize, mode->mdct.n/4);
|
||||
for (j=0;j<mode->mdct.n/4;j++)
|
||||
mode->Fs, mdctSize, mode->mdct.n/4+1);
|
||||
for (j=0;j<=mode->mdct.n/4;j++)
|
||||
fprintf (file, WORD16 ", ", mode->mdct.trig[j]);
|
||||
fprintf (file, "};\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue