Use the default frame factory when it's necessary to parse ID3v2 tags in APE files

https://bugs.kde.org/show_bug.cgi?id=278773
This commit is contained in:
Jonathan Liu 2011-08-06 11:05:11 +02:00 committed by Lukáš Lalinský
parent 059f2243b3
commit e2bdbb2cd1

View File

@ -137,7 +137,7 @@ long APE::Properties::findDescriptor()
long ID3v2OriginalSize = 0;
bool hasID3v2 = false;
if(ID3v2Location >= 0) {
ID3v2::Tag tag(d->file, ID3v2Location, 0);
ID3v2::Tag tag(d->file, ID3v2Location);
ID3v2OriginalSize = tag.header()->completeTagSize();
if(tag.header()->tagSize() > 0)
hasID3v2 = true;