aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/OggFind.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-19 22:29:52 +0200
committerMax Kellermann <max@duempel.org>2014-08-19 22:29:52 +0200
commitbb472206dee0adcff09b2efccfb5795101b45705 (patch)
tree6c9e7fd526b71113b3991d57cef7a8c944d713bb /src/decoder/plugins/OggFind.hxx
parentd87cf5146e8c64907a0c3ee6f3f36745163c295c (diff)
downloadmpd-bb472206dee0adcff09b2efccfb5795101b45705.tar.gz
mpd-bb472206dee0adcff09b2efccfb5795101b45705.tar.xz
mpd-bb472206dee0adcff09b2efccfb5795101b45705.zip
InputStream: move typedef offset_type to Offset.hxx
Reduce header dependencies.
Diffstat (limited to 'src/decoder/plugins/OggFind.hxx')
-rw-r--r--src/decoder/plugins/OggFind.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/decoder/plugins/OggFind.hxx b/src/decoder/plugins/OggFind.hxx
index 8ced7fd86..2aa4f6c06 100644
--- a/src/decoder/plugins/OggFind.hxx
+++ b/src/decoder/plugins/OggFind.hxx
@@ -21,11 +21,12 @@
#define MPD_OGG_FIND_HXX
#include "check.h"
-#include "input/InputStream.hxx"
+#include "input/Offset.hxx"
#include <ogg/ogg.h>
class OggSyncState;
+class InputStream;
/**
* Skip all pages/packets until an end-of-stream (EOS) packet for the
@@ -41,7 +42,7 @@ OggFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet);
*/
bool
OggSeekPageAtOffset(OggSyncState &oy, ogg_stream_state &os, InputStream &is,
- InputStream::offset_type offset);
+ offset_type offset);
/**
* Try to find the end-of-stream (EOS) packet. Seek to the end of the