Commit 3f340168 authored by Max Kellermann's avatar Max Kellermann

decoder/DsdLib: check InputStream::KnownSize()

parent 1307633a
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment