From ecd485acbd3c450d467290f440eb34b025574393 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 30 Oct 2008 08:42:18 +0100 Subject: 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. --- src/decoder/mpc_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/mpc_plugin.c') 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) -- cgit v1.2.3