Fix corrupted metadata on manual track change on hwcodec.

r28672 removed a memset and strlcpy in mp3info() code path which exposed this bug.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29432 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2011-02-27 19:14:48 +00:00
parent 128793fbbf
commit ade4c1637f

View file

@ -286,7 +286,7 @@ bool mp3info(struct mp3entry *entry, const char *filename)
if (fd < 0)
return true;
result = !get_mp3_metadata(fd, entry);
result = !get_metadata(entry, fd, filename);
close(fd);