Merge branch 'thraxil-master'

This commit is contained in:
David Howden 2017-10-22 22:23:05 +11:00
commit 3066d30077

View File

@ -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)