From 49f2709a01f6ea6230804c0787785b0f5569ca02 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 6 May 2010 09:22:55 +0000 Subject: If dircache and database "load to ram" is enabled then get the id3 info from the database in the WPS playlist viewer for non buffered tracks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25841 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 0d06d8f563..1efb7a8625 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1618,6 +1618,8 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) entry = &hdr->indices[idx_id]; + memset(id3, 0, sizeof(struct mp3entry)); + id3->title = get_tag_string(entry, tag_title); id3->artist = get_tag_string(entry, tag_artist); id3->album = get_tag_string(entry, tag_album); -- cgit v1.2.3