Fix FS #7976. WMA metadata parser didn't store file size in metadata struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15150 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
294a4c0ef9
commit
1129ed7faa
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ bool get_asf_metadata(int fd, struct mp3entry* id3)
|
|||
header.
|
||||
*/
|
||||
id3->first_frame_offset = lseek(fd, 0, SEEK_CUR) + 26;
|
||||
|
||||
id3->filesize = filesize(fd);
|
||||
/* We copy the wfx struct to the MP3 TOC field in the id3 struct so
|
||||
the codec doesn't need to parse the header object again */
|
||||
memcpy(id3->toc, &wfx, sizeof(wfx));
|
||||
|
|
Loading…
Reference in a new issue