+ if (i == f->start_band + 1) {
+ /* Special Hybrid Folding (RFC 8251 section 9). Copy the first band into
+ the second to ensure the second band never has to use the LCG. */
+ int offset = 8 * ff_celt_freq_bands[i];
+ int count = 8 * (ff_celt_freq_range[i] - ff_celt_freq_range[i-1]);
+
+ memcpy(&norm[offset], &norm[offset - count], count * sizeof(float));
+
+ if (f->channels == 2)
+ memcpy(&norm2[offset], &norm2[offset - count], count * sizeof(float));
+ }
+