libogg documentation |
libogg release 1.3.4 - 20190830 |
declared in "ogg/ogg.h";
This function adds a complete page to the bitstream.
In a typical decoding situation, this function would be called after using ogg_sync_pageout to create a valid ogg_page struct.
Internally, this function breaks the page into packet segments in preparation for outputting a valid packet to the codec decoding layer.
int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og); |
-1 indicates failure. This means that the serial number of the page did not match the serial number of the bitstream, the page version was incorrect, or an internal error occurred. 0 means that the page was successfully submitted to the bitstream.
copyright © 2000-2019 Xiph.Org Foundation |
|
libogg documentation |
libogg release 1.3.4 - 20190830 |