shithub: opus

Download patch

ref: ac72c2821abf0a054f9598b7c1b7f5533a6289bd
parent: 44c63350d1916e4f2b3d61304aafbd60519d7d7e
author: Jean-Marc Valin <[email protected]>
date: Tue Mar 25 17:31:12 EDT 2008

oops. find_max32() now uses VERY_LARGE32 (instead of VERY_LARGE16)

--- a/libcelt/mathops.h
+++ b/libcelt/mathops.h
@@ -57,7 +57,7 @@
 #ifndef OVERRIDE_FIND_MAX32
 static inline int find_max32(celt_word32_t *x, int len)
 {
-   celt_word32_t max_corr=-VERY_LARGE16;
+   celt_word32_t max_corr=-VERY_LARGE32;
    int i, id = 0;
    for (i=0;i<len;i++)
    {
--- a/libcelt/vq.c
+++ b/libcelt/vq.c
@@ -155,7 +155,6 @@
       pulsesAtOnce = pulsesLeft/N;
       if (pulsesAtOnce<1)
          pulsesAtOnce = 1;
-      /*printf ("%d %d %d/%d %d\n", Lupdate, pulsesAtOnce, pulsesLeft, K, N);*/
 
       /* Choose between fast and accurate strategy depending on where we are in the search */
       if (pulsesLeft>1)