diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/OggFind.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/OggFind.cxx b/src/decoder/plugins/OggFind.cxx index df4318da2..d7a3dc04a 100644 --- a/src/decoder/plugins/OggFind.cxx +++ b/src/decoder/plugins/OggFind.cxx @@ -57,7 +57,7 @@ bool OggSeekFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet, InputStream &is) { - if (is.size > 0 && is.size - is.offset < 65536) + if (is.KnownSize() && is.GetRest() < 65536) return OggFindEOS(oy, os, packet); if (!is.CheapSeeking()) |