mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Allow SYLT frames to have a timestamp with no text.
Thanks to lemonboy999.
This commit is contained in:
parent
45ee18e206
commit
9419dab51b
@ -1,4 +1,4 @@
|
||||
/***************************************************************************
|
||||
/***************************************************************************
|
||||
copyright : (C) 2014 by Urs Fleisch
|
||||
email : ufleisch@users.sourceforge.net
|
||||
***************************************************************************/
|
||||
@ -189,7 +189,7 @@ void SynchronizedLyricsFrame::parseFields(const ByteVector &data)
|
||||
}
|
||||
}
|
||||
String text = readStringField(data, enc, &pos);
|
||||
if(text.isEmpty() || pos + 4 > end)
|
||||
if(pos + 4 > end)
|
||||
return;
|
||||
|
||||
unsigned int time = data.toUInt(pos, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user