lib/xiph/OggStreamState: add method PageIn()

This commit is contained in:
Max Kellermann 2016-05-09 15:29:33 +02:00
parent a9678f0ae0
commit 348ecc1118
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ public:
/* decoding */
bool PageIn(ogg_page &page) {
return ogg_stream_pagein(&state, &page) == 0;
}
int PacketOut(ogg_packet &packet) {
return ogg_stream_packetout(&state, &packet);
}