summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/codeclib.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/lib/codeclib.c')
-rw-r--r--apps/codecs/lib/codeclib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c
index bb736ad..36f4279 100644
--- a/apps/codecs/lib/codeclib.c
+++ b/apps/codecs/lib/codeclib.c
@@ -29,9 +29,9 @@
/* The following variables are used by codec_malloc() to make use of free RAM
* within the statically allocated codec buffer. */
-static size_t mem_ptr;
-static size_t bufsize;
-static unsigned char* mallocbuf;
+static size_t mem_ptr = 0;
+static size_t bufsize = 0;
+static unsigned char* mallocbuf = NULL;
int codec_init(void)
{