From ddab569266f04d0071d7c14920b93b2a5c44746d Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 8 Jun 2007 15:36:10 +0000 Subject: [PATCH] Correct the parsing of v3.97 Monkey's Audio files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13595 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/metadata.c b/apps/metadata.c index 594226b649..357c5e649e 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -1038,9 +1038,9 @@ static bool get_monkeys_metadata(int fd, struct mp3entry* id3) /* v3.95 and later files all have a fixed framesize */ blocksperframe = 73728 * 4; - finalframeblocks = get_long_le(buf+30); - totalframes = get_long_le(buf+26); - id3->frequency = get_long_le(buf+14); + finalframeblocks = get_long_le(buf+28); + totalframes = get_long_le(buf+24); + id3->frequency = get_long_le(buf+12); } id3->vbr = true; /* All FLAC files are VBR */