Fixed temp arrays that were allocated too large (no change in peak mem)

This commit is contained in:
Jean-Marc Valin 2008-02-29 17:03:34 +11:00
parent 877b1975b6
commit cac91ec4db
2 changed files with 5 additions and 5 deletions

View file

@ -148,10 +148,10 @@ void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, celt_norm_t *P, cel
ALLOC(_ny, L*N, celt_norm_t);
ALLOC(_iy, L*N, int);
ALLOC(_iny, L*N, int);
ALLOC(y, L*N, celt_norm_t*);
ALLOC(ny, L*N, celt_norm_t*);
ALLOC(iy, L*N, int*);
ALLOC(iny, L*N, int*);
ALLOC(y, L, celt_norm_t*);
ALLOC(ny, L, celt_norm_t*);
ALLOC(iy, L, int*);
ALLOC(iny, L, int*);
ALLOC(xy, L, celt_word32_t);
ALLOC(yy, L, celt_word32_t);