aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/OggSyncState.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/OggSyncState.hxx')
-rw-r--r--src/decoder/OggSyncState.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/decoder/OggSyncState.hxx b/src/decoder/OggSyncState.hxx
index c85b931bb..5235c1bd8 100644
--- a/src/decoder/OggSyncState.hxx
+++ b/src/decoder/OggSyncState.hxx
@@ -33,11 +33,11 @@
class OggSyncState {
ogg_sync_state oy;
- input_stream &is;
+ InputStream &is;
Decoder *const decoder;
public:
- OggSyncState(input_stream &_is, Decoder *const _decoder=nullptr)
+ OggSyncState(InputStream &_is, Decoder *const _decoder=nullptr)
:is(_is), decoder(_decoder) {
ogg_sync_init(&oy);
}
@@ -51,27 +51,27 @@ public:
}
bool Feed(size_t size) {
- return OggFeed(oy, decoder, &is, size);
+ return OggFeed(oy, decoder, is, size);
}
bool ExpectPage(ogg_page &page) {
- return OggExpectPage(oy, page, decoder, &is);
+ return OggExpectPage(oy, page, decoder, is);
}
bool ExpectFirstPage(ogg_stream_state &os) {
- return OggExpectFirstPage(oy, os, decoder, &is);
+ return OggExpectFirstPage(oy, os, decoder, is);
}
bool ExpectPageIn(ogg_stream_state &os) {
- return OggExpectPageIn(oy, os, decoder, &is);
+ return OggExpectPageIn(oy, os, decoder, is);
}
bool ExpectPageSeek(ogg_page &page) {
- return OggExpectPageSeek(oy, page, decoder, &is);
+ return OggExpectPageSeek(oy, page, decoder, is);
}
bool ExpectPageSeekIn(ogg_stream_state &os) {
- return OggExpectPageSeekIn(oy, os, decoder, &is);
+ return OggExpectPageSeekIn(oy, os, decoder, is);
}
};