lib/xiph/OggStreamState: add wrapper for ogg_stream_reset()

This commit is contained in:
Max Kellermann 2016-05-13 13:37:45 +02:00
parent 5acc77a163
commit 07fa3764ef
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ public:
return state.serialno;
}
void Reset() {
ogg_stream_reset(&state);
}
/* encoding */
void PacketIn(const ogg_packet &packet) {