Fix instance references to a static member function.

This commit is contained in:
Tsuda Kageyu 2015-11-24 16:36:50 +09:00
parent 3612c2cc24
commit fa4289e044
3 changed files with 3 additions and 3 deletions

View 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;
}

View 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;
}

View 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;
}