Index: lpc10_decode.c
===================================================================
--- lpc10_decode.c	(revision 8061)
+++ lpc10_decode.c	(working copy)
@@ -249,6 +249,7 @@
     float slope;
     float uvpit;
     float xxy;
+   float tmp;
 
     rci_dim1 = LPC10_ORDER;
     rci_offset = rci_dim1 + 1;
@@ -444,7 +445,9 @@
                         xxy = expf(xxy);
                         rci[j + *nout*rci_dim1 + 1] = (xxy - 1.0f)/(xxy + 1.0f);
                     }
-                    rmsi[*nout - 1] = logf(s->rmso) + prop*(logf(*rms) - logf(s->rmso));
+                   //rmsi[*nout - 1] = logf(s->rmso) + prop *(logf((float)*rms) - logf(s->rmso));
+                   tmp = logf(*rms) - logf(s->rmso);
+		     rmsi[*nout - 1] = logf(s->rmso) + prop * tmp ;
                     rmsi[*nout - 1] = expf(rmsi[*nout - 1]);
                 }
             }