summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-10-16 20:21:02 +0000
committerThom Johansen <thomj@rockbox.org>2007-10-16 20:21:02 +0000
commit1129ed7faa66faebfe02fc494044a9a903e2d33b (patch)
treef0fabb681e650813d1d742fd69e93bfd46095294
parent294a4c0ef9d2cd2cabf142dcaea842f2a07e8ba2 (diff)
downloadrockbox-1129ed7faa66faebfe02fc494044a9a903e2d33b.tar.gz
rockbox-1129ed7faa66faebfe02fc494044a9a903e2d33b.zip
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
-rw-r--r--apps/metadata/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/asf.c b/apps/metadata/asf.c
index fcc41c260d..a5136b3da7 100644
--- a/apps/metadata/asf.c
+++ b/apps/metadata/asf.c
@@ -510,7 +510,7 @@ bool get_asf_metadata(int fd, struct mp3entry* id3)
510 header. 510 header.
511 */ 511 */
512 id3->first_frame_offset = lseek(fd, 0, SEEK_CUR) + 26; 512 id3->first_frame_offset = lseek(fd, 0, SEEK_CUR) + 26;
513 513 id3->filesize = filesize(fd);
514 /* We copy the wfx struct to the MP3 TOC field in the id3 struct so 514 /* We copy the wfx struct to the MP3 TOC field in the id3 struct so
515 the codec doesn't need to parse the header object again */ 515 the codec doesn't need to parse the header object again */
516 memcpy(id3->toc, &wfx, sizeof(wfx)); 516 memcpy(id3->toc, &wfx, sizeof(wfx));