diff options
author | Max Kellermann <max@duempel.org> | 2008-10-30 08:42:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-30 08:42:18 +0100 |
commit | ecd485acbd3c450d467290f440eb34b025574393 (patch) | |
tree | b353cc9c746a78e2b0aa8cdcabbfeefc90908bda /src | |
parent | 62d4fa9306fdb5dd0a1b592fd8dbdf1b679d92ca (diff) | |
download | mpd-ecd485acbd3c450d467290f440eb34b025574393.tar.gz mpd-ecd485acbd3c450d467290f440eb34b025574393.tar.xz mpd-ecd485acbd3c450d467290f440eb34b025574393.zip |
mpc: fix boolean interpretation of input_stream_seek()
When input_stream_seek() was converted to return a bool, this wasn't
adjusted in the musepack plugin.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/mpc_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index ed7f49fc7..0991913a4 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -38,7 +38,7 @@ static mpc_bool_t mpc_seek_cb(void *vdata, mpc_int32_t offset) { MpcCallbackData *data = (MpcCallbackData *) vdata; - return input_stream_seek(data->inStream, offset, SEEK_SET) ? 0 : 1; + return input_stream_seek(data->inStream, offset, SEEK_SET); } static mpc_int32_t mpc_tell_cb(void *vdata) |