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:
Max Kellermann 2008-10-30 08:42:18 +01:00
parent 62d4fa9306
commit ecd485acbd
1 changed files with 1 additions and 1 deletions

View File

@ -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)