summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-10 18:20:56 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-10 18:20:56 +0000
commit78b0f94c76e7d176bf24ab2c9a49f67b32537cc2 (patch)
tree3308fbb214586e49cf3a1f56d18cddd513815ba7 /apps/codecs
parent2481427b039ec71d46a3cc160cce02b99054d6e7 (diff)
downloadrockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.tar.gz
rockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.zip
Proper initialization of static variables in codeclib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29853 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-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 bb736ad887..36f4279941 100644
--- a/apps/codecs/lib/codeclib.c
+++ b/apps/codecs/lib/codeclib.c
@@ -29,9 +29,9 @@
29 29
30/* The following variables are used by codec_malloc() to make use of free RAM 30/* The following variables are used by codec_malloc() to make use of free RAM
31 * within the statically allocated codec buffer. */ 31 * within the statically allocated codec buffer. */
32static size_t mem_ptr; 32static size_t mem_ptr = 0;
33static size_t bufsize; 33static size_t bufsize = 0;
34static unsigned char* mallocbuf; 34static unsigned char* mallocbuf = NULL;
35 35
36int codec_init(void) 36int codec_init(void)
37{ 37{