summaryrefslogtreecommitdiff
path: root/apps/metadata
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-17 18:35:24 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-17 18:35:24 +0000
commitae32e1ef06b57e71e7130ce76082cb0877aaaca5 (patch)
tree1ef8797fb42c041312299754e01c4c2874faac09 /apps/metadata
parentb5cf163f5ad062b8203f7623d5003ea739e79d59 (diff)
Ensure proper initialization of some variables and arrays in metadata parsing. Fixes FS#11948.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29323 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata')
-rw-r--r--apps/metadata/mp4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/metadata/mp4.c b/apps/metadata/mp4.c
index 2c5faa5a59..706e621234 100644
--- a/apps/metadata/mp4.c
+++ b/apps/metadata/mp4.c
@@ -544,8 +544,8 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3,
static bool read_mp4_container(int fd, struct mp3entry* id3,
uint32_t size_left)
{
- uint32_t size;
- uint32_t type;
+ uint32_t size = 0;
+ uint32_t type = 0;
uint32_t handler = 0;
bool rc = true;
bool done = false;