Commit bdc4ae2b authored by Max Kellermann's avatar Max Kellermann

decoder/opus: remove redundant decoder_timestamp() call

After seeking, the MPD core automatically refreshes the timestamp, and thus discards the value from decoder_timestamp().
parent 9ca93413
......@@ -342,11 +342,7 @@ MPDOpusDecoder::Seek(OggSyncState &oy, double where_s)
offset_type offset(where_granulepos * input_stream.GetSize()
/ eos_granulepos);
if (!OggSeekPageAtOffset(oy, os, input_stream, offset))
return false;
decoder_timestamp(decoder, where_s);
return true;
return OggSeekPageAtOffset(oy, os, input_stream, offset);
}
static void
......
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