aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/decoder/plugins/OpusDecoderPlugin.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx
index d41c212f9..f5a62e0d1 100644
--- a/src/decoder/plugins/OpusDecoderPlugin.cxx
+++ b/src/decoder/plugins/OpusDecoderPlugin.cxx
@@ -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