diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-06-16 06:40:46 +0400 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-06-16 06:40:46 +0400 |
commit | 5c8ab6918095820c17c289f58a99797fb15f93c4 (patch) | |
tree | 4a41c31b16ee4d9303d0f11ebc5aabdbe136dce5 /libspeex | |
parent | fce97bace2796b426ab4df9384d9f3e93819b3e5 (diff) |
fixed valgrind support (and gitignore)
git-svn-id: http://svn.xiph.org/trunk/speex@13134 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex')
-rw-r--r-- | libspeex/nb_celp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c index 6ac12a0..a632287 100644 --- a/libspeex/nb_celp.c +++ b/libspeex/nb_celp.c @@ -209,7 +209,7 @@ void *nb_encoder_init(const SpeexMode *m) st->highpass_enabled = 1; #ifdef ENABLE_VALGRIND - VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); + VALGRIND_MAKE_READABLE(st, NB_ENC_STACK); #endif return st; } @@ -1101,7 +1101,7 @@ void *nb_decoder_init(const SpeexMode *m) st->highpass_enabled = 1; #ifdef ENABLE_VALGRIND - VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); + VALGRIND_MAKE_READABLE(st, NB_DEC_STACK); #endif return st; } |