Skip to content

Commit

Permalink
Merge branch 'thraxil-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowden committed Oct 22, 2017
2 parents e24fc33 + 22a6715 commit 3066d30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions id3v2frames.go
Expand Up @@ -597,6 +597,9 @@ func readAPICFrame(b []byte) (*Picture, error) {
mimeType := string(mimeDataSplit[0])

b = mimeDataSplit[1]
if len(b) < 1 {
return nil, fmt.Errorf("error decoding APIC mimetype")
}
picType := b[0]

descDataSplit, err := dataSplit(b[1:], enc)
Expand Down

0 comments on commit 3066d30

Please sign in to comment.