aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/OggFind.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/OggFind.cxx')
-rw-r--r--src/decoder/OggFind.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/decoder/OggFind.cxx b/src/decoder/OggFind.cxx
index 4f4fd1e9..9df4c645 100644
--- a/src/decoder/OggFind.cxx
+++ b/src/decoder/OggFind.cxx
@@ -19,16 +19,15 @@
#include "config.h"
#include "OggFind.hxx"
-#include "OggUtil.hxx"
+#include "OggSyncState.hxx"
bool
-OggFindEOS(ogg_sync_state &oy, ogg_stream_state &os, ogg_packet &packet,
- decoder *decoder, input_stream *is)
+OggFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet)
{
while (true) {
int r = ogg_stream_packetout(&os, &packet);
if (r == 0) {
- if (!OggExpectPageIn(oy, os, decoder, is))
+ if (!oy.ExpectPageIn(os))
return false;
continue;