Commit c4b146c4 authored by Gregory Maxwell's avatar Gregory Maxwell Committed by Jean-Marc Valin
Browse files

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.
parent 5aaf1233
......@@ -529,6 +529,7 @@ int celt_encode_float(CELTEncoder * restrict st, const celt_sig_t * pcm, celt_si
#endif
}
shortBlocks = 1;
has_fold = 1;
} else {
transient_time = -1;
transient_shift = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment