mirror of
https://github.com/xiph/opus.git
synced 2025-06-03 00:57:43 +00:00
Allowing frames up to 512 samples
This commit is contained in:
parent
c6ca49923e
commit
96748cf309
1 changed files with 2 additions and 2 deletions
|
@ -328,9 +328,9 @@ CELTMode EXPORT *celt_mode_create(celt_int32_t Fs, int channels, int frame_size,
|
|||
*error = CELT_BAD_ARG;
|
||||
return NULL;
|
||||
}
|
||||
if (frame_size < 64 || frame_size > 256 || frame_size%2!=0)
|
||||
if (frame_size < 64 || frame_size > 512 || frame_size%2!=0)
|
||||
{
|
||||
celt_warning("Only even frame sizes between 64 and 256 are supported");
|
||||
celt_warning("Only even frame sizes between 64 and 512 are supported");
|
||||
if (error)
|
||||
*error = CELT_BAD_ARG;
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue