decoder/DsdLib: check InputStream::KnownSize()
This commit is contained in:
parent
1307633a84
commit
3f34016888
@ -109,7 +109,7 @@ dsdlib_tag_id3(InputStream &is,
|
||||
{
|
||||
assert(tagoffset >= 0);
|
||||
|
||||
if (tagoffset == 0)
|
||||
if (tagoffset == 0 || !is.KnownSize())
|
||||
return;
|
||||
|
||||
if (!dsdlib_skip_to(nullptr, is, tagoffset))
|
||||
|
Loading…
Reference in New Issue
Block a user