mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Patch from Umesh Shankar to make sure that the frameID is current.
CCMAIL:Umesh Shankar <ushankar@cs.berkeley.edu> git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@415233 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
10d8a4deac
commit
6ceb7a8151
@ -103,6 +103,10 @@ Frame *FrameFactory::createFrame(const ByteVector &data, uint version) const
|
||||
return 0;
|
||||
}
|
||||
|
||||
// updateFrame() might have updated the frame ID.
|
||||
|
||||
frameID = header->frameID();
|
||||
|
||||
// This is where things get necissarily nasty. Here we determine which
|
||||
// Frame subclass (or if none is found simply an Frame) based
|
||||
// on the frame ID. Since there are a lot of possibilities, that means
|
||||
|
Loading…
Reference in New Issue
Block a user