diff options
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
1618 | 1618 | ||
1619 | entry = &hdr->indices[idx_id]; | 1619 | entry = &hdr->indices[idx_id]; |
1620 | 1620 | ||
1621 | memset(id3, 0, sizeof(struct mp3entry)); | ||
1622 | |||
1621 | id3->title = get_tag_string(entry, tag_title); | 1623 | id3->title = get_tag_string(entry, tag_title); |
1622 | id3->artist = get_tag_string(entry, tag_artist); | 1624 | id3->artist = get_tag_string(entry, tag_artist); |
1623 | id3->album = get_tag_string(entry, tag_album); | 1625 | id3->album = get_tag_string(entry, tag_album); |