]> granicus.if.org Git - taglib/commitdiff
Use the default frame factory when it's necessary to parse ID3v2 tags in APE files
authorJonathan Liu <net147@gmail.com>
Sat, 6 Aug 2011 09:05:11 +0000 (11:05 +0200)
committerLukáš Lalinský <lalinsky@gmail.com>
Sat, 6 Aug 2011 09:05:20 +0000 (11:05 +0200)
https://bugs.kde.org/show_bug.cgi?id=278773

taglib/ape/apeproperties.cpp

index 3154d1045605de5cbb1fc85ad42a5e7743ec4aa6..aab9d25cf44ce61aaf50d3772ec8bad39227085a 100644 (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;