aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/OpusDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-11 11:18:51 +0100
committerMax Kellermann <max@duempel.org>2014-11-11 11:18:51 +0100
commit7886a14b74f58896670bb8c0573646cd1a947d05 (patch)
tree4bbddb514ffa8fc8b1264ea678b3e69bc54f3884 /src/decoder/plugins/OpusDecoderPlugin.cxx
parent466b6a23cdce42143a25f87ce2234e045e963bdf (diff)
downloadmpd-7886a14b74f58896670bb8c0573646cd1a947d05.tar.gz
mpd-7886a14b74f58896670bb8c0573646cd1a947d05.tar.xz
mpd-7886a14b74f58896670bb8c0573646cd1a947d05.zip
decoder/opus: fix mistyped LoadEOSPacket() return value
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/OpusDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx
index cf102a9b5..a4be8eb60 100644
--- a/src/decoder/plugins/OpusDecoderPlugin.cxx
+++ b/src/decoder/plugins/OpusDecoderPlugin.cxx
@@ -188,7 +188,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
/* we do this for local files only, because seeking
around remote files is expensive and not worth the
troubl */
- return -1;
+ return false;
const auto old_offset = is.GetOffset();