diff --git a/libcelt/dump_modes.c b/libcelt/dump_modes.c index b9bcd90b..688229d3 100644 --- a/libcelt/dump_modes.c +++ b/libcelt/dump_modes.c @@ -147,7 +147,6 @@ void dump_modes(FILE *file, CELTMode **modes, int nb_modes) fprintf(file, "%d,\t/* nbShortMdcts */\n", mode->nbShortMdcts); fprintf(file, "%d,\t/* shortMdctSize */\n", mode->shortMdctSize); fprintf(file, "{%d, 0, 0},\t/* shortMdct */\n", 2*mode->mdctSize); - fprintf(file, "window%d,\t/* shortWindow */\n", mode->overlap); fprintf(file, "0,\t/* prob */\n"); fprintf(file, "logN%d_%d,\t/* logN */\n", mode->Fs, mode->mdctSize); fprintf(file, "0x%x,\t/* marker */\n", 0xa110ca7e); diff --git a/libcelt/modes.c b/libcelt/modes.c index 9cd408a9..f6d2e4e3 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c @@ -394,7 +394,7 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error) mode->shortMdctSize = mode->mdctSize/mode->nbShortMdcts; clt_mdct_init(&mode->shortMdct, 2*mode->shortMdctSize); - mode->shortWindow = mode->window; + mode->prob = quant_prob_alloc(mode); if ((mode->mdct.trig==NULL) || (mode->shortMdct.trig==NULL) #ifndef ENABLE_TI_DSPLIB55 diff --git a/libcelt/modes.h b/libcelt/modes.h index 813732d0..f47a735a 100644 --- a/libcelt/modes.h +++ b/libcelt/modes.h @@ -103,7 +103,6 @@ struct CELTMode { int nbShortMdcts; int shortMdctSize; mdct_lookup shortMdct; - const celt_word16 *shortWindow; int *prob; const celt_int16 *logN;