Comment on a weird workaround for duplicate ID3v2 tags.

This commit is contained in:
Tsuda Kageyu 2014-10-20 23:13:15 +09:00
parent e41dc68a6b
commit 71acf3b6f7

View File

@ -434,8 +434,12 @@ long MPEG::File::firstFrameOffset()
long position = 0;
if(ID3v2Tag()) {
// Skip duplicate ID3v2 tags.
// Workaround for some faulty files that have duplicate ID3v2 tags.
// Combination of EAC and LAME creates such files when configured incorrectly.
position = d->ID3v2Location + ID3v2Tag()->header()->completeTagSize();
long location;