Remove duplicate Vorbis comment blocks when saving a FLAC file.

This commit is contained in:
Tsuda Kageyu
2015-12-16 10:00:08 +09:00
parent 63e838f831
commit 9950fca3c2
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));
}
}