diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 18:34:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-12 18:59:46 +0200 |
commit | 0b4fa41aff35ac8d190e5daaeed12f12614a0e9c (patch) | |
tree | 02da5a37e93198e969a28072b555595292ce688b /src/decoder/plugins/FlacIOHandle.hxx | |
parent | e138e2c880d2e5ae4728bd821e3a2789cb605a11 (diff) | |
download | mpd-0b4fa41aff35ac8d190e5daaeed12f12614a0e9c.tar.gz mpd-0b4fa41aff35ac8d190e5daaeed12f12614a0e9c.tar.xz mpd-0b4fa41aff35ac8d190e5daaeed12f12614a0e9c.zip |
InputStream: "protect" attributes
Diffstat (limited to '')
-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; } |