Fix: panic on empty description in text-description frames.
This commit is contained in:
parent
d3e0c4a33f
commit
1b0e92375a
@ -179,6 +179,10 @@ func readTextWithDescrFrame(b []byte, hasLang bool, encoded bool) (*Comm, error)
|
||||
}
|
||||
c.Description = desc
|
||||
|
||||
if len(descTextSplit) == 1 {
|
||||
return c, nil
|
||||
}
|
||||
|
||||
if !encoded {
|
||||
enc = byte(0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user