From: Allan Sandfeld Jensen Date: Wed, 25 Aug 2004 15:37:53 +0000 (+0000) Subject: Set APELocation to the beginning of the APE-tag X-Git-Tag: v1.5~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f086fdaba5e71be7279098aada327ccec9a6996c;p=taglib Set APELocation to the beginning of the APE-tag git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/mpeg/mpegfile.cpp b/mpeg/mpegfile.cpp index 4f2da521..56c1b487 100644 --- a/mpeg/mpegfile.cpp +++ b/mpeg/mpegfile.cpp @@ -538,6 +538,8 @@ void MPEG::File::read(bool readProperties, Properties::ReadStyle propertiesStyle d->APEOriginalSize = d->APETag->footer()->completeTagSize(); + d->APELocation = d->APELocation + d->APETag->footer()->size() - d->APEOriginalSize; + d->hasAPE = true; }