From 1129ed7faa66faebfe02fc494044a9a903e2d33b Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Tue, 16 Oct 2007 20:21:02 +0000 Subject: 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 --- apps/metadata/asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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)); -- cgit v1.2.3