]> granicus.if.org Git - taglib/commitdiff
Fix instance references to a static member function.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 24 Nov 2015 07:36:50 +0000 (16:36 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 24 Nov 2015 07:36:50 +0000 (16:36 +0900)
taglib/ape/apefile.cpp
taglib/mpc/mpcfile.cpp
taglib/wavpack/wavpackfile.cpp

index caefe7371ff1bca7767a9c5da1a82798b2936107..241711457f5020b0f051012b6f4a2261735cc355 100644 (file)
@@ -283,7 +283,7 @@ void APE::File::read(bool readProperties)
   if(d->APELocation >= 0) {
     d->tag.set(ApeAPEIndex, new APE::Tag(this, d->APELocation));
     d->APESize = APETag()->footer()->completeTagSize();
-    d->APELocation = d->APELocation + APETag()->footer()->size() - d->APESize;
+    d->APELocation = d->APELocation + APE::Footer::size() - d->APESize;
     d->hasAPE = true;
   }
 
index 1d798212c37f358177154c922c37b5e8c50aa95f..015bc0e06bfa672db0aaf1dead845d3025dfc244 100644 (file)
@@ -282,7 +282,7 @@ void MPC::File::read(bool readProperties)
     d->tag.set(MPCAPEIndex, new APE::Tag(this, d->APELocation));
 
     d->APESize = APETag()->footer()->completeTagSize();
-    d->APELocation = d->APELocation + APETag()->footer()->size() - d->APESize;
+    d->APELocation = d->APELocation + APE::Footer::size() - d->APESize;
     d->hasAPE = true;
   }
 
index 7273e103b625e6043f531d7a1c9c023f930d7c2c..f7c97f7e228dda04bbe27bf4fee691adb90992a8 100644 (file)
@@ -258,7 +258,7 @@ void WavPack::File::read(bool readProperties)
   if(d->APELocation >= 0) {
     d->tag.set(WavAPEIndex, new APE::Tag(this, d->APELocation));
     d->APESize = APETag()->footer()->completeTagSize();
-    d->APELocation = d->APELocation + APETag()->footer()->size() - d->APESize;
+    d->APELocation = d->APELocation + APE::Footer::size() - d->APESize;
     d->hasAPE = true;
   }