aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/OggFind.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/OggFind.hxx')
-rw-r--r--src/decoder/OggFind.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/decoder/OggFind.hxx b/src/decoder/OggFind.hxx
index 703510fb5..ad51ccdf3 100644
--- a/src/decoder/OggFind.hxx
+++ b/src/decoder/OggFind.hxx
@@ -21,6 +21,7 @@
#define MPD_OGG_FIND_HXX
#include "check.h"
+#include "InputStream.hxx"
#include <ogg/ogg.h>
@@ -37,6 +38,13 @@ bool
OggFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet);
/**
+ * Seek the #InputStream and find the next Ogg page.
+ */
+bool
+OggSeekPageAtOffset(OggSyncState &oy, ogg_stream_state &os, InputStream &is,
+ InputStream::offset_type offset, int whence);
+
+/**
* Try to find the end-of-stream (EOS) packet. Seek to the end of the
* file if necessary.
*