summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c6
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 */