diff options
author | Max Kellermann <max@duempel.org> | 2014-08-19 22:29:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-19 22:29:52 +0200 |
commit | bb472206dee0adcff09b2efccfb5795101b45705 (patch) | |
tree | 6c9e7fd526b71113b3991d57cef7a8c944d713bb /src/decoder/plugins/OpusDecoderPlugin.cxx | |
parent | d87cf5146e8c64907a0c3ee6f3f36745163c295c (diff) | |
download | mpd-bb472206dee0adcff09b2efccfb5795101b45705.tar.gz mpd-bb472206dee0adcff09b2efccfb5795101b45705.tar.xz mpd-bb472206dee0adcff09b2efccfb5795101b45705.zip |
InputStream: move typedef offset_type to Offset.hxx
Reduce header dependencies.
Diffstat (limited to '')
-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; |