diff options
Diffstat (limited to 'src/decoder/OggFind.cxx')
-rw-r--r-- | src/decoder/OggFind.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/decoder/OggFind.cxx b/src/decoder/OggFind.cxx index 4f4fd1e96..9df4c6455 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; |