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.
This commit is contained in:
parent
62d4fa9306
commit
ecd485acbd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue