Commit 7f4f8b7c authored by Max Kellermann's avatar Max Kellermann

decoder/mpcdec: use integer seek times

parent 88705264
......@@ -185,8 +185,8 @@ mpcdec_decode(Decoder &mpd_decoder, InputStream &is)
DecoderCommand cmd = DecoderCommand::NONE;
do {
if (cmd == DecoderCommand::SEEK) {
mpc_int64_t where = decoder_seek_where(mpd_decoder) *
audio_format.sample_rate;
mpc_int64_t where =
decoder_seek_where_frame(mpd_decoder);
bool success;
success = mpc_demux_seek_sample(demux, where)
......
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