cannam@86: <html>
cannam@86: 
cannam@86: <head>
cannam@86: <title>libogg - function - ogg_stream_packetin</title>
cannam@86: <link rel=stylesheet href="style.css" type="text/css">
cannam@86: </head>
cannam@86: 
cannam@86: <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
cannam@86: <table border=0 width=100%>
cannam@86: <tr>
cannam@86: <td><p class=tiny>libogg documentation</p></td>
cannam@86: <td align=right><p class=tiny>libogg release 1.3.0 - 20110804</p></td>
cannam@86: </tr>
cannam@86: </table>
cannam@86: 
cannam@86: <h1>ogg_stream_packetin</h1>
cannam@86: 
cannam@86: <p><i>declared in "ogg/ogg.h";</i></p>
cannam@86: 
cannam@86: <p>This function submits a packet to the bitstream for page 
cannam@86: encapsulation. After this is called, more packets can be submitted,
cannam@86: or pages can be written out.</p>
cannam@86: 
cannam@86: <p>In a typical encoding situation, this should be used after filling a 
cannam@86: packet with data.
cannam@86: The data in the packet is copied into the internal storage managed by 
cannam@86: the <a href="ogg_stream_state.html">ogg_stream_state</a>, so the caller
cannam@86: is free to alter the contents of <i>op</i> after this call has returned.
cannam@86: 
cannam@86: <br><br>
cannam@86: <table border=0 color=black cellspacing=0 cellpadding=7>
cannam@86: <tr bgcolor=#cccccc>
cannam@86: 	<td>
cannam@86: <pre><b>
cannam@86: int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op);
cannam@86: </b></pre>
cannam@86: 	</td>
cannam@86: </tr>
cannam@86: </table>
cannam@86: 
cannam@86: <h3>Parameters</h3>
cannam@86: <dl>
cannam@86: <dt><i>os</i></dt>
cannam@86: <dd>Pointer to a previously declared <a href="ogg_stream_state.html">ogg_stream_state</a> struct.</dd>
cannam@86: <dt><i>op</i></dt>
cannam@86: <dd>Pointer to the packet we are putting into the bitstream.
cannam@86: </dl>
cannam@86: 
cannam@86: 
cannam@86: <h3>Return Values</h3>
cannam@86: <blockquote>
cannam@86: <li>
cannam@86: 0 returned on success.  -1 returned in the event of internal error.</li>
cannam@86: </blockquote>
cannam@86: <p>
cannam@86: 
cannam@86: <br><br>
cannam@86: <hr noshade>
cannam@86: <table border=0 width=100%>
cannam@86: <tr valign=top>
cannam@86: <td><p class=tiny>copyright &copy; 2000-2011 Xiph.Org</p></td>
cannam@86: <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
cannam@86: </tr><tr>
cannam@86: <td><p class=tiny>libogg documentation</p></td>
cannam@86: <td align=right><p class=tiny>libogg release 1.3.0 - 20110804</p></td>
cannam@86: </tr>
cannam@86: </table>
cannam@86: 
cannam@86: 
cannam@86: </body>
cannam@86: 
cannam@86: </html>