mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
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.
|
header.
|
||||||
*/
|
*/
|
||||||
id3->first_frame_offset = lseek(fd, 0, SEEK_CUR) + 26;
|
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
|
/* 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 */
|
the codec doesn't need to parse the header object again */
|
||||||
memcpy(id3->toc, &wfx, sizeof(wfx));
|
memcpy(id3->toc, &wfx, sizeof(wfx));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue