Fixing the encoder's handling of no-folding; with folding enabled
the encoder could attempt to create folding-free short blocks which is not permitted by the bitstream.
This commit is contained in:
parent
5aaf12333e
commit
c4b146c4ba
1 changed files with 1 additions and 0 deletions
|
@ -529,6 +529,7 @@ int celt_encode_float(CELTEncoder * restrict st, const celt_sig_t * pcm, celt_si
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
shortBlocks = 1;
|
shortBlocks = 1;
|
||||||
|
has_fold = 1;
|
||||||
} else {
|
} else {
|
||||||
transient_time = -1;
|
transient_time = -1;
|
||||||
transient_shift = 0;
|
transient_shift = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue