fixed a few trivial bugs: exporting celt_strerror(), changed DB_SCALING to a

shift and removed the chec for DISABLE_STEREO in the mode creation.
This commit is contained in:
Jean-Marc Valin 2009-10-19 19:07:38 -04:00
parent 234969c903
commit 328b8bd7fc
4 changed files with 4 additions and 18 deletions

View file

@ -375,16 +375,6 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error)
#endif /* !STATIC_MODES */
#ifdef DISABLE_STEREO
if (channels > 1)
{
celt_warning("Stereo support was disable from this build");
if (error)
*error = CELT_BAD_ARG;
return NULL;
}
#endif
mdct_init(&mode->mdct, 2*mode->mdctSize);
mode->fft = pitch_state_alloc(MAX_PERIOD);