1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dave Chapman 2007-06-08 15:36:10 +00:00
parent 09b247fef9
commit ddab569266

View file

@ -1038,9 +1038,9 @@ static bool get_monkeys_metadata(int fd, struct mp3entry* id3)
/* v3.95 and later files all have a fixed framesize */ /* v3.95 and later files all have a fixed framesize */
blocksperframe = 73728 * 4; blocksperframe = 73728 * 4;
finalframeblocks = get_long_le(buf+30); finalframeblocks = get_long_le(buf+28);
totalframes = get_long_le(buf+26); totalframes = get_long_le(buf+24);
id3->frequency = get_long_le(buf+14); id3->frequency = get_long_le(buf+12);
} }
id3->vbr = true; /* All FLAC files are VBR */ id3->vbr = true; /* All FLAC files are VBR */