ref: c4b146c4ba38de86f6970a90463ea35c320a78b6
parent: 5aaf12333eabafde133b5e255c86d8455960f95a
author: Gregory Maxwell <[email protected]>
date: Tue May 26 17:15:12 EDT 2009
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.
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -529,6 +529,7 @@
#endif
}
shortBlocks = 1;
+ has_fold = 1;
} else {
transient_time = -1;
transient_shift = 0;