From: Jonathan Liu Date: Sat, 6 Aug 2011 09:05:11 +0000 (+0200) Subject: Use the default frame factory when it's necessary to parse ID3v2 tags in APE files X-Git-Tag: v1.8beta~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cc36db7606dfc85d2e344d35c4e26fe8f698bdc;p=taglib 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 --- diff --git a/taglib/ape/apeproperties.cpp b/taglib/ape/apeproperties.cpp index 3154d104..aab9d25c 100644 --- a/taglib/ape/apeproperties.cpp +++ b/taglib/ape/apeproperties.cpp @@ -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;