shithub: aacenc

Download patch

ref: df2ca42a8e4f43db2364d8c1c631c9943d8f625c
parent: 997d4237dc989169ddbe9001b6531e139b4ccf83
author: menno <menno>
date: Thu Dec 16 15:59:03 EST 1999

Put MSEnergy() after MSPreprocess(). Off course.

--- a/enc_tf.c
+++ b/enc_tf.c
@@ -440,9 +440,6 @@
 		}
 	}
 
-		MSEnergy(spectral_line_vector, energy, chpo_long, chpo_short,
-			  sfb_width_table, channelInfo, block_type, quantInfo, max_ch);
-
 //	if (as->use_MS) {
 		MSPreprocess(p_ratio_long, p_ratio_short, chpo_long, chpo_short,
 			channelInfo, block_type, quantInfo,max_ch);
@@ -461,6 +458,9 @@
 //			}
 //		}
 //	}
+
+	MSEnergy(spectral_line_vector, energy, chpo_long, chpo_short,
+		sfb_width_table, channelInfo, block_type, quantInfo, max_ch);
 
 	{
 		int chanNum;