Merge pull request #699 from TsudaKageyu/flac-duplicate-comments

Remove duplicate Vorbis comment blocks when saving a FLAC file.
This commit is contained in:
Tsuda Kageyu
2015-12-21 10:03:14 +09:00
2 changed files with 42 additions and 57 deletions

View File

@ -60,6 +60,8 @@ public:
{
FLAC::File f(newname.c_str());
CPPUNIT_ASSERT_EQUAL(String("The Artist"), f.tag()->artist());
CPPUNIT_ASSERT_EQUAL(69L, f.find("Artist"));
CPPUNIT_ASSERT_EQUAL(-1L, f.find("Artist", 70));
}
}