[xiph-cvs] cvs commit: speex/libspeex sb_celp.c
Jean-Marc Valin
jm at xiph.org
Thu Feb 12 00:41:01 PST 2004
jm 04/02/12 03:41:01
Modified: libspeex sb_celp.c
Log:
Valgrind support for sb_celp.c too
Revision Changes Path
1.164 +6 -0 speex/libspeex/sb_celp.c
Index: sb_celp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/sb_celp.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -r1.163 -r1.164
--- sb_celp.c 23 Dec 2003 08:11:13 -0000 1.163
+++ sb_celp.c 12 Feb 2004 08:41:01 -0000 1.164
@@ -263,6 +263,9 @@
speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate);
st->sampling_rate*=2;
+#ifdef ENABLE_VALGRIND
+ VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
+#endif
return st;
}
@@ -759,6 +762,9 @@
st->lpc_enh_enabled=0;
+#ifdef ENABLE_VALGRIND
+ VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
+#endif
return st;
}
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list