mirror of
https://github.com/xiph/opus.git
synced 2025-06-04 17:47:42 +00:00
Fix dump_modes when requesting multiple modes.
dump_modes() was re-using a loop index for a loop nested inside the main one, so it would only output the struct for the first one.
This commit is contained in:
parent
08b88c8d3d
commit
245c9af59d
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ void dump_modes(FILE *file, CELTMode **modes, int nb_modes)
|
|||
fprintf(file, "%d,\t/* nbEBands */\n", mode->nbEBands);
|
||||
fprintf(file, "%d,\t/* effEBands */\n", mode->effEBands);
|
||||
fprintf(file, "{");
|
||||
for (i=0;i<4;i++)
|
||||
fprintf(file, WORD16 ", ", mode->preemph[i]);
|
||||
for (j=0;j<4;j++)
|
||||
fprintf(file, WORD16 ", ", mode->preemph[j]);
|
||||
fprintf(file, "},\t/* preemph */\n");
|
||||
fprintf(file, "eBands%d_%d,\t/* eBands */\n", mode->Fs, mdctSize);
|
||||
fprintf(file, "%d,\t/* nbAllocVectors */\n", mode->nbAllocVectors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue