decoder/opus: remove redundant decoder_timestamp() call

After seeking, the MPD core automatically refreshes the timestamp, and
thus discards the value from decoder_timestamp().
This commit is contained in:
Max Kellermann 2014-08-26 11:34:24 +02:00
parent 9ca9341384
commit bdc4ae2b86

View File

@ -342,11 +342,7 @@ MPDOpusDecoder::Seek(OggSyncState &oy, double where_s)
offset_type offset(where_granulepos * input_stream.GetSize() offset_type offset(where_granulepos * input_stream.GetSize()
/ eos_granulepos); / eos_granulepos);
if (!OggSeekPageAtOffset(oy, os, input_stream, offset)) return OggSeekPageAtOffset(oy, os, input_stream, offset);
return false;
decoder_timestamp(decoder, where_s);
return true;
} }
static void static void