mirror of
https://github.com/taglib/taglib.git
synced 2025-06-03 17:18:11 -04:00
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:
parent
3a81dfb883
commit
d257ddfd02
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user