1
0
Fork 0
forked from len0rd/rockbox

Don't initialize id3 structure with zeros on software codec platforms

(buffering system will do this).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6764 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-06-19 08:29:23 +00:00
parent e5d08722f8
commit 0a81bb344e

View file

@ -856,8 +856,10 @@ bool mp3info(struct mp3entry *entry, const char *filename, bool v1first)
if(-1 == fd)
return true;
#if CONFIG_HWCODEC != MASNONE
memset(entry, 0, sizeof(struct mp3entry));
#endif
strncpy(entry->path, filename, sizeof(entry->path));
entry->title = NULL;