diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-10 18:20:56 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-10 18:20:56 +0000 |
| commit | 78b0f94c76e7d176bf24ab2c9a49f67b32537cc2 (patch) | |
| tree | 3308fbb214586e49cf3a1f56d18cddd513815ba7 /apps/codecs | |
| parent | 2481427b039ec71d46a3cc160cce02b99054d6e7 (diff) | |
| download | rockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.zip rockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.tar.gz rockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.tar.bz2 rockbox-78b0f94c76e7d176bf24ab2c9a49f67b32537cc2.tar.xz | |
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.c | 6 |
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) { |