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:
parent
2481427b03
commit
78b0f94c76
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue