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:
parent
e5d08722f8
commit
0a81bb344e
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue