From 8c22630577e67893db3f481a96e6cf353df7c8c6 Mon Sep 17 00:00:00 2001 From: Buschel Date: Tue, 22 Feb 2011 07:44:15 +0000 Subject: [PATCH] Proper initialize dummy destination address to ensure correct functionality for replaygain in mp4 metadata. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29376 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata/mp4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/metadata/mp4.c b/apps/metadata/mp4.c index 14aad2203..746ccb286 100644 --- a/apps/metadata/mp4.c +++ b/apps/metadata/mp4.c @@ -515,7 +515,7 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3, } else { - char* any; + char* any = NULL; unsigned int length = read_mp4_tag_string(fd, size, &buffer, &buffer_left, &any); -- 2.11.4.GIT