From ae32e1ef06b57e71e7130ce76082cb0877aaaca5 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 17 Feb 2011 18:35:24 +0000 Subject: 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 --- apps/metadata/mp4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/metadata') 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; -- cgit v1.2.3