From 287078566f976f1d90021876f82967c7ce7b38a7 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Tue, 19 May 2015 17:39:37 +0900 Subject: [PATCH] No need to call ID3v2::Frame::render() twice when saving an ID3v2 tag. --- taglib/mpeg/id3v2/id3v2tag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.40.0