lookahead no longer defined when creating a mode
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 3 Oct 2008 11:30:08 +0000 (07:30 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 3 Oct 2008 11:30:08 +0000 (07:30 -0400)
libcelt/modes.c

index c95427f..d1dcc7c 100644 (file)
@@ -294,8 +294,7 @@ CELTMode *celt_mode_create(celt_int32_t Fs, int channels, int frame_size, int *e
    {
       if (Fs == static_mode_list[i]->Fs &&
           channels == static_mode_list[i]->nbChannels &&
-          frame_size == static_mode_list[i]->mdctSize &&
-          lookahead == static_mode_list[i]->overlap)
+          frame_size == static_mode_list[i]->mdctSize)
       {
          m = static_mode_list[i];
          break;