Commit ac72c282 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

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

parent 44c63350
......@@ -57,7 +57,7 @@ static inline int find_max16(celt_word16_t *x, int len)
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++)
......@@ -155,7 +155,6 @@ void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, const celt_norm_t *
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment