Update valgrind support to match the latest valgrind API.

Adjust valgrind mode to insert padding between every allocation to increase sensitivity.
This commit is contained in:
Gregory Maxwell 2009-06-30 01:06:04 -04:00 committed by Jean-Marc Valin
parent c57475b480
commit 849669547e
2 changed files with 22 additions and 16 deletions

View file

@ -310,7 +310,7 @@ CELTMode *celt_mode_create(celt_int32_t Fs, int channels, int frame_size, int *e
mode->marker_start = MODEPARTIAL;
#else
int res;
CELTMode *mode;
CELTMode *mode=NULL;
celt_word16_t *window;
ALLOC_STACK;
#if !defined(VAR_ARRAYS) && !defined(USE_ALLOCA)