diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 10:34:05 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 10:34:05 +0000 |
commit | 897fd9282781d2f90dc4193cca908f1b17e00cb0 (patch) | |
tree | d3ca20fa59225ca6f98135b916c8ddc56637e7c7 /apps/codecs/lib/codeclib.c | |
parent | 75e3fb7edbe686b3aff8abe471fc80bcde6a3d55 (diff) | |
download | rockbox-897fd9282781d2f90dc4193cca908f1b17e00cb0.tar.gz rockbox-897fd9282781d2f90dc4193cca908f1b17e00cb0.zip |
codeclib: Declare several variables static and remove unused variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/codeclib.c')
-rw-r--r-- | apps/codecs/lib/codeclib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c index 3a46f6d06b..e672a78cc2 100644 --- a/apps/codecs/lib/codeclib.c +++ b/apps/codecs/lib/codeclib.c | |||
@@ -27,11 +27,11 @@ | |||
27 | #include "codeclib.h" | 27 | #include "codeclib.h" |
28 | #include "metadata.h" | 28 | #include "metadata.h" |
29 | 29 | ||
30 | size_t mem_ptr; | 30 | /* The following variables are used by codec_malloc() to make use of free RAM |
31 | size_t bufsize; | 31 | * within the statically allocated codec buffer. */ |
32 | unsigned char* mp3buf; // The actual MP3 buffer from Rockbox | 32 | static size_t mem_ptr; |
33 | unsigned char* mallocbuf; // 512K from the start of MP3 buffer | 33 | static size_t bufsize; |
34 | unsigned char* filebuf; // The rest of the MP3 buffer | 34 | static unsigned char* mallocbuf; |
35 | 35 | ||
36 | int codec_init(void) | 36 | int codec_init(void) |
37 | { | 37 | { |