[xiph-commits] r9397 - trunk/speex/libspeex
jm at motherfish-iii.xiph.org
jm at motherfish-iii.xiph.org
Tue Jun 7 17:17:28 PDT 2005
Author: jm
Date: 2005-06-07 17:17:26 -0700 (Tue, 07 Jun 2005)
New Revision: 9397
Modified:
trunk/speex/libspeex/cb_search.c
Log:
comments
Modified: trunk/speex/libspeex/cb_search.c
===================================================================
--- trunk/speex/libspeex/cb_search.c 2005-06-07 22:57:56 UTC (rev 9396)
+++ trunk/speex/libspeex/cb_search.c 2005-06-08 00:17:26 UTC (rev 9397)
@@ -382,10 +382,10 @@
spx_word16_t *ct;
spx_word32_t err;
ct = ot[j];
- /*update target*/
-
- err = odist[j]+best_dist[k]+tener;
+ /* Compute total distance (including previous sub-vectors */
+ err = ADD32(ADD32(odist[j],best_dist[k]),tener);
+
/*update n-best list*/
if (err<ndist[N-1] || ndist[N-1]<-1)
{
More information about the commits
mailing list