Skip to content

Commit

Permalink
Fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
n10v committed Mar 3, 2020
1 parent 9d871ea commit 1f38ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common_ids.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ var (
// parsing of corresponding frame.
// You should consider that there is no text frame parser. That's why you should
// check at first, if it's a text frame:
// if id[0] == 'T' {
// // use parseTextFrame
// if strings.HasPrefix(id, "T") {
// ...
// }
var parsers = map[string]func(*bufReader) (Framer, error){
"APIC": parsePictureFrame,
Expand All @@ -150,7 +150,7 @@ func mustFrameBeInSequence(id string) bool {

switch id {
case "MCDI", "ETCO", "SYTC", "RVRB", "MLLT", "PCNT", "RBUF", "POSS", "OWNE", "SEEK", "ASPI":
case "IPLS", "RVAD": // Specifics ID3v2.3 frames
case "IPLS", "RVAD": // Specific ID3v2.3 frames.
return false
}

Expand Down

0 comments on commit 1f38ceb

Please sign in to comment.