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:
parent
09b247fef9
commit
ddab569266
1 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue