Menu

#59 Tag Versions

open
nobody
None
5
2004-02-25
2004-02-25
Spoon
No

If a new tag is created with a SetSpec of (ID3V2_2_0)
the tag is always written as 2.3, these fixes allow the
sent version to be used instead.

Frame_Renderer.cpp line 81:
// after ID3_FrameHeader hdr;

hdr.SetSpec(this->GetSpec());

Tag_imp.cpp line 165:
// after ID3_Frame* frm = new ID3_Frame(*frame);
// this->AttachFrame(frm);

frm->SetSpec(frame->GetSpec());

header_tag.cpp line 70 + 71 should be:

writer.writeChar(ID3_V2SpecToVer(this->GetSpec()));
writer.writeChar(ID3_V2SpecToRev(this->GetSpec()));

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.