shithub: aacenc

Download patch

ref: b7e20c8ba8ed97d3ff97b0b4579941a9f7ab983f
parent: 7a22cda848284fd70e83e74e0b0aa4df54391e35
author: menno <menno>
date: Sun Jan 9 14:51:05 EST 2000

Bugfix

--- a/enc_tf.c
+++ b/enc_tf.c
@@ -561,6 +561,9 @@
 							nok_lt_status[leftChan].sfb_prediction_used[i];
 						nok_lt_status[rightChan].weight = nok_lt_status[leftChan].weight;
 						nok_lt_status[rightChan].delay[0] = nok_lt_status[leftChan].delay[0];
+						for(i = 0; i < NOK_MAX_BLOCK_LEN_LONG; i++)
+							spectral_line_vector[rightChan][i] -=
+							nok_lt_status[rightChan].pred_mdct[i];
 
 						if(block_type[leftChan] != block_type[rightChan])
 							nok_ltp_enc(spectral_line_vector[rightChan],