diff options
Diffstat (limited to 'src/decoder/plugins/FlacIOHandle.hxx')
-rw-r--r-- | src/decoder/plugins/FlacIOHandle.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FlacIOHandle.hxx b/src/decoder/plugins/FlacIOHandle.hxx index a4c3ab86d..90acc66af 100644 --- a/src/decoder/plugins/FlacIOHandle.hxx +++ b/src/decoder/plugins/FlacIOHandle.hxx @@ -37,7 +37,7 @@ ToFlacIOHandle(InputStream &is) static inline const FLAC__IOCallbacks & GetFlacIOCallbacks(const InputStream &is) { - return is.seekable + return is.IsSeekable() ? flac_io_callbacks_seekable : flac_io_callbacks; } |