fixed three declaration-after-statement issues

This commit is contained in:
Jean-Marc Valin 2008-04-11 17:23:01 +10:00
parent 766257109e
commit 9656ca0090
3 changed files with 3 additions and 3 deletions

View file

@ -321,7 +321,6 @@ CELTMode EXPORT *celt_mode_create(celt_int32_t Fs, int channels, int frame_size,
void EXPORT celt_mode_destroy(CELTMode *mode)
{
mdct_clear(&mode->mdct);
#ifndef STATIC_MODES
int i;
const celt_int16_t *prevPtr = NULL;
@ -346,6 +345,7 @@ void EXPORT celt_mode_destroy(CELTMode *mode)
mode->marker_end = MODEFREED;
psydecay_clear(&mode->psy);
#endif
mdct_clear(&mode->mdct);
celt_free((CELTMode *)mode);
}