diff options
Diffstat (limited to 'src/decoder/plugins/OpusDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/OpusDecoderPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx index 2ea8e0497..d41c212f9 100644 --- a/src/decoder/plugins/OpusDecoderPlugin.cxx +++ b/src/decoder/plugins/OpusDecoderPlugin.cxx @@ -339,8 +339,8 @@ MPDOpusDecoder::Seek(OggSyncState &oy, double where_s) /* interpolate the file offset where we expect to find the given granule position */ /* TODO: implement binary search */ - InputStream::offset_type offset(where_granulepos * input_stream.GetSize() - / eos_granulepos); + offset_type offset(where_granulepos * input_stream.GetSize() + / eos_granulepos); if (!OggSeekPageAtOffset(oy, os, input_stream, offset)) return false; |