From: Tsuda Kageyu Date: Tue, 19 May 2015 08:39:37 +0000 (+0900) Subject: No need to call ID3v2::Frame::render() twice when saving an ID3v2 tag. X-Git-Tag: v1.10beta~86^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=287078566f976f1d90021876f82967c7ce7b38a7;p=taglib No need to call ID3v2::Frame::render() twice when saving an ID3v2 tag. --- diff --git a/taglib/mpeg/id3v2/id3v2tag.cpp b/taglib/mpeg/id3v2/id3v2tag.cpp index ce4159d8..e31d1247 100644 --- a/taglib/mpeg/id3v2/id3v2tag.cpp +++ b/taglib/mpeg/id3v2/id3v2tag.cpp @@ -602,7 +602,7 @@ ByteVector ID3v2::Tag::render(int version) const + String((*it)->header()->frameID()) + "\' has been discarded"); continue; } - tagData.append((*it)->render()); + tagData.append(frameData); } }