Create an APE tag when reading a WavPack file without tags

Now it is handled in the same way as for other tags with a
TagUnion. Without this patch, WavPack files without tags cannot
be edited via a FileRef.
This commit is contained in:
Urs Fleisch 2021-01-03 19:04:03 +01:00
parent 2c29fbeabb
commit e6c03c6de8

View File

@ -263,7 +263,7 @@ void WavPack::File::read(bool readProperties)
d->APELocation = d->APELocation + APE::Footer::size() - d->APESize;
}
if(d->ID3v1Location >= 0)
if(d->ID3v1Location < 0)
APETag(true);
// Look for WavPack audio properties