Allowing maxCompressedBytes to be as large as one wants
Though the encoder will still never use more than 1275 bytes
This commit is contained in:
parent
0b405d1170
commit
b3dae4b026
2 changed files with 3 additions and 3 deletions
|
@ -921,7 +921,7 @@ int celt_encode_with_ec_float(CELTEncoder * restrict st, const celt_sig * pcm, i
|
|||
int silence=0;
|
||||
SAVE_STACK;
|
||||
|
||||
if (nbCompressedBytes<2 || nbCompressedBytes>1275 || pcm==NULL)
|
||||
if (nbCompressedBytes<2 || pcm==NULL)
|
||||
return CELT_BAD_ARG;
|
||||
|
||||
frame_size *= st->upsample;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue