Removing pitch prediction code

This commit is contained in:
Jean-Marc Valin 2010-08-05 15:22:57 -04:00
parent 30e2493efa
commit 8cbea177ba
6 changed files with 8 additions and 246 deletions

View file

@ -388,7 +388,6 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error)
mode->effEBands = mode->nbEBands;
while (mode->eBands[mode->effEBands] > mode->shortMdctSize)
mode->effEBands--;
mode->pitchEnd = 4000*(celt_int32)mode->shortMdctSize/Fs;
/* Overlap must be divisible by 4 */
if (mode->nbShortMdcts > 1)