aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/OggFind.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/OggFind.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/decoder/OggFind.hxx b/src/decoder/OggFind.hxx
index 7d18d2067..703510fb5 100644
--- a/src/decoder/OggFind.hxx
+++ b/src/decoder/OggFind.hxx
@@ -24,6 +24,7 @@
#include <ogg/ogg.h>
+struct InputStream;
class OggSyncState;
/**
@@ -35,4 +36,14 @@ class OggSyncState;
bool
OggFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet);
+/**
+ * Try to find the end-of-stream (EOS) packet. Seek to the end of the
+ * file if necessary.
+ *
+ * @return true if the EOS packet was found
+ */
+bool
+OggSeekFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet,
+ InputStream &is);
+
#endif