Commit ecd485ac authored by Max Kellermann's avatar Max Kellermann

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.
parent 62d4fa93
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment