aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/decoder/plugins/DsdLib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/DsdLib.cxx b/src/decoder/plugins/DsdLib.cxx
index 086f9d4d6..b1e8c776f 100644
--- a/src/decoder/plugins/DsdLib.cxx
+++ b/src/decoder/plugins/DsdLib.cxx
@@ -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))