diff options
author | Dave Chapman <dave@dchapman.com> | 2007-06-08 15:36:10 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-06-08 15:36:10 +0000 |
commit | ddab569266f04d0071d7c14920b93b2a5c44746d (patch) | |
tree | 858b9f6e7b435bd7c1905696272e120017b5343e /apps/metadata.c | |
parent | 09b247fef9242d5f17ef9e8395f04ff1282b9292 (diff) | |
download | rockbox-ddab569266f04d0071d7c14920b93b2a5c44746d.tar.gz rockbox-ddab569266f04d0071d7c14920b93b2a5c44746d.zip |
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
Diffstat (limited to 'apps/metadata.c')
-rw-r--r-- | apps/metadata.c | 6 |
1 files 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) | |||
1038 | /* v3.95 and later files all have a fixed framesize */ | 1038 | /* v3.95 and later files all have a fixed framesize */ |
1039 | blocksperframe = 73728 * 4; | 1039 | blocksperframe = 73728 * 4; |
1040 | 1040 | ||
1041 | finalframeblocks = get_long_le(buf+30); | 1041 | finalframeblocks = get_long_le(buf+28); |
1042 | totalframes = get_long_le(buf+26); | 1042 | totalframes = get_long_le(buf+24); |
1043 | id3->frequency = get_long_le(buf+14); | 1043 | id3->frequency = get_long_le(buf+12); |
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | id3->vbr = true; /* All FLAC files are VBR */ | 1046 | id3->vbr = true; /* All FLAC files are VBR */ |