1
0
Fork 0
forked from len0rd/rockbox

Proper initialization of static variables in codeclib.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29853 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-05-10 18:20:56 +00:00
parent 2481427b03
commit 78b0f94c76

View file

@ -29,9 +29,9 @@
/* The following variables are used by codec_malloc() to make use of free RAM /* The following variables are used by codec_malloc() to make use of free RAM
* within the statically allocated codec buffer. */ * within the statically allocated codec buffer. */
static size_t mem_ptr; static size_t mem_ptr = 0;
static size_t bufsize; static size_t bufsize = 0;
static unsigned char* mallocbuf; static unsigned char* mallocbuf = NULL;
int codec_init(void) int codec_init(void)
{ {