mirror of
https://github.com/taglib/taglib.git
synced 2026-02-08 00:10:15 -05:00
Be tolerant of empty FLAC seektable blocks.
This commit is contained in:
@ -506,7 +506,9 @@ void FLAC::File::scan()
|
||||
return;
|
||||
}
|
||||
|
||||
if(blockLength == 0 && blockType != MetadataBlock::Padding) {
|
||||
if(blockLength == 0
|
||||
&& blockType != MetadataBlock::Padding && blockType != MetadataBlock::SeekTable)
|
||||
{
|
||||
debug("FLAC::File::scan() -- Zero-sized metadata block found");
|
||||
setValid(false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user