lib/xiph/OggSyncState: remove unused method ExpectFirstPage()
This commit is contained in:
parent
a1a26b70bc
commit
675e8667c2
|
@ -60,10 +60,6 @@ public:
|
|||
return OggExpectPage(oy, page, reader);
|
||||
}
|
||||
|
||||
bool ExpectFirstPage(ogg_stream_state &os) {
|
||||
return OggExpectFirstPage(oy, os, reader);
|
||||
}
|
||||
|
||||
bool ExpectPageIn(ogg_stream_state &os) {
|
||||
return OggExpectPageIn(oy, os, reader);
|
||||
}
|
||||
|
|
|
@ -49,18 +49,6 @@ OggExpectPage(ogg_sync_state &oy, ogg_page &page, Reader &reader)
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
OggExpectFirstPage(ogg_sync_state &oy, ogg_stream_state &os, Reader &reader)
|
||||
{
|
||||
ogg_page page;
|
||||
if (!OggExpectPage(oy, page, reader))
|
||||
return false;
|
||||
|
||||
ogg_stream_init(&os, ogg_page_serialno(&page));
|
||||
ogg_stream_pagein(&os, &page);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
OggExpectPageIn(ogg_sync_state &oy, ogg_stream_state &os, Reader &reader)
|
||||
{
|
||||
|
|
|
@ -45,16 +45,6 @@ OggFeed(ogg_sync_state &oy, Reader &reader, size_t size);
|
|||
bool
|
||||
OggExpectPage(ogg_sync_state &oy, ogg_page &page, Reader &reader);
|
||||
|
||||
/**
|
||||
* Combines OggExpectPage(), ogg_stream_init() and
|
||||
* ogg_stream_pagein().
|
||||
*
|
||||
* @return true if the stream was initialized and the first page was
|
||||
* delivered to it
|
||||
*/
|
||||
bool
|
||||
OggExpectFirstPage(ogg_sync_state &oy, ogg_stream_state &os, Reader &reader);
|
||||
|
||||
/**
|
||||
* Combines OggExpectPage() and ogg_stream_pagein().
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue