mmlibs/mmfw/Codecs/Src/Gsm610CodecCommon/rpeltp.cpp
changeset 41 f7bf1ed8db72
parent 32 ae690a8c4a18
equal deleted inserted replaced
32:ae690a8c4a18 41:f7bf1ed8db72
   800   *Nc = 40; /* index for the maximum of cross correlation */
   800   *Nc = 40; /* index for the maximum of cross correlation */
   801   for ( lambda = 40; lambda <= 120; lambda++ ) {
   801   for ( lambda = 40; lambda <= 120; lambda++ ) {
   802     L_result = 0;
   802     L_result = 0;
   803     for (k = 0; k <= 39; k++)
   803     for (k = 0; k <= 39; k++)
   804 	  L_result = L_mac( L_result, wt[k], aEncoder->dp[k-lambda+120] );
   804 	  L_result = L_mac( L_result, wt[k], aEncoder->dp[k-lambda+120] );
   805   /* Borland C++ 3.1 Bug if -3 (386-instructions) are used.
   805   /* Borland C++ 3.1 error if -3 (386-instructions) are used.
   806   ** The code makes error (compared to (L_result > L_max)
   806   ** The code makes error (compared to (L_result > L_max)
   807   ** comparison. The problem disapears if the result of L_sub
   807   ** comparison. The problem disapears if the result of L_sub
   808   ** is stored to variable, e.g.
   808   ** is stored to variable, e.g.
   809   **   if ( ( L_debug = L_sub( L_result, L_max ) ) > 0 ) {
   809   **   if ( ( L_debug = L_sub( L_result, L_max ) ) > 0 ) {
   810   **
   810   **