diff options
Diffstat (limited to 'apps/codecs/libspeex/nb_celp.c')
-rw-r--r-- | apps/codecs/libspeex/nb_celp.c | 1 |
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 |