public:
FilePrivate() :
properties(0),
- tagChunkID("ID3 "),
hasID3v2(false),
- hasInfo(false)
- {
- }
+ hasInfo(false) {}
~FilePrivate()
{
}
Properties *properties;
-
- ByteVector tagChunkID;
-
TagUnion tag;
bool hasID3v2;
removeTagChunks(ID3v2);
if(ID3v2Tag() && !ID3v2Tag()->isEmpty()) {
- setChunkData(d->tagChunkID, ID3v2Tag()->render(id3v2Version));
+ setChunkData("ID3 ", ID3v2Tag()->render(id3v2Version));
d->hasID3v2 = true;
}
}
const ByteVector name = chunkName(i);
if(name == "ID3 " || name == "id3 ") {
if(!d->tag[ID3v2Index]) {
- d->tagChunkID = name;
d->tag.set(ID3v2Index, new ID3v2::Tag(this, chunkOffset(i)));
d->hasID3v2 = true;
}