[xiph-commits] r13134 - in trunk/speex: . libspeex

jm at svn.xiph.org jm at svn.xiph.org
Fri Jun 15 19:40:46 PDT 2007


Author: jm
Date: 2007-06-15 19:40:46 -0700 (Fri, 15 Jun 2007)
New Revision: 13134

Modified:
   trunk/speex/.gitignore
   trunk/speex/libspeex/nb_celp.c
Log:
fixed valgrind support (and gitignore)


Modified: trunk/speex/.gitignore
===================================================================
--- trunk/speex/.gitignore	2007-06-13 20:34:53 UTC (rev 13133)
+++ trunk/speex/.gitignore	2007-06-16 02:40:46 UTC (rev 13134)
@@ -1,4 +1,5 @@
 *.o
+*.lo
 Makefile.in
 *~
 fixed
@@ -15,4 +16,25 @@
 install-sh
 ltmain.sh
 missing
+Makefile
+.deps
+.libs
+*.la
 work
+Speex.spec
+config.h
+config.log
+config.status
+include/speex/speex_config_types.h
+*.swp
+testdenoise
+testecho
+testenc
+testenc_uwb
+testenc_wb
+libtool
+speex.pc
+speexdec
+src/speexenc
+stamp-*
+

Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2007-06-13 20:34:53 UTC (rev 13133)
+++ trunk/speex/libspeex/nb_celp.c	2007-06-16 02:40:46 UTC (rev 13134)
@@ -209,7 +209,7 @@
    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 @@
    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;
 }



More information about the commits mailing list