diff --git a/id3v1.go b/id3v1.go index 8e66e22..00ad891 100644 --- a/id3v1.go +++ b/id3v1.go @@ -75,16 +75,16 @@ func ReadID3v1Tags(r io.ReadSeeker) (Metadata, error) { return nil, err } - commentBytes, err := readBytes(r, 29) + commentBytes, err := readBytes(r, 30) if err != nil { return nil, err } var comment string var track int - if commentBytes[27] == 0 { + if commentBytes[28] == 0 { comment = strings.TrimSpace(string(commentBytes[:28])) - track = int(commentBytes[28]) + track = int(commentBytes[29]) } var genre string