mirror of
https://github.com/taglib/taglib.git
synced 2026-02-12 19:23:02 -05:00
@ -239,6 +239,11 @@ void ChapterFrame::parseFields(const ByteVector &data)
|
||||
pos += 4;
|
||||
size -= pos;
|
||||
|
||||
// Embedded frames are optional
|
||||
|
||||
if(size < header()->size())
|
||||
return;
|
||||
|
||||
while((uint)embPos < size - header()->size()) {
|
||||
Frame *frame = FrameFactory::instance()->createFrame(data.mid(pos + embPos), d->tagHeader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user