from the standard, but major editors (i.e. iTunes) mess up ID3v2 text frames with
null termination (which technically indicates a field with content, plus an empty
field).
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@689739
283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
// type is the same specified for this frame
for(ByteVectorList::Iterator it = l.begin(); it != l.end(); it++) {
- String s(*it, d->textEncoding);
- d->fieldList.append(s);
+ if(!(*it).isEmpty()) {
+ String s(*it, d->textEncoding);
+ d->fieldList.append(s);
+ }
}
}