Update the ID3v1 location when stripping the ID3v2 tag.

CCMAIL:83926-done@bugs.kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332780 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2004-07-26 01:49:18 +00:00
parent 3a81dfb883
commit d257ddfd02

View File

@ -345,6 +345,10 @@ bool MPEG::File::strip(int tags)
d->hasID3v2 = false;
delete d->ID3v2Tag;
d->ID3v2Tag = 0;
// v1 tag location has changed, update if it exists
if(d->ID3v1Tag)
d->ID3v1Location = findID3v1();
}
if(tags & ID3v1 && d->hasID3v1) {