summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/nb_celp.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-14 00:55:05 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-14 00:55:05 +0000
commit91f618f1ba1e507a9aa1cf7ee87eaf0370272b17 (patch)
tree01e714dc8b41d5ee4332109c0c86720ae291bf96 /apps/codecs/libspeex/nb_celp.c
parentd75a5486e60d10a74049712d8bdf1fa2816038f8 (diff)
downloadrockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.tar.gz
rockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.zip
Remove unneeded math wrappers. Clear state structs in decoder init. Start initial work at stripping away parts of Speex in preparation for its use as a statically linked voice UI codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/nb_celp.c')
-rw-r--r--apps/codecs/libspeex/nb_celp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/nb_celp.c b/apps/codecs/libspeex/nb_celp.c
index 3de623a482..7dc4920ede 100644
--- a/apps/codecs/libspeex/nb_celp.c
+++ b/apps/codecs/libspeex/nb_celp.c
@@ -944,6 +944,7 @@ void *nb_decoder_init(const SpeexMode *m)
944 if (!st) 944 if (!st)
945 return NULL; 945 return NULL;
946*/ 946*/
947 memset(st, 0, sizeof(*st));
947#if defined(VAR_ARRAYS) || defined (USE_ALLOCA) 948#if defined(VAR_ARRAYS) || defined (USE_ALLOCA)
948 st->stack = NULL; 949 st->stack = NULL;
949#else 950#else