4 <title>libogg - function - ogg_stream_packetin</title>
5 <link rel=stylesheet href="style.css" type="text/css">
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
11 <td><p class=tiny>libogg documentation</p></td>
12 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>
16 <h1>ogg_stream_packetin</h1>
18 <p><i>declared in "ogg/ogg.h";</i></p>
20 <p>This function takes a packet and submits it to the bitstream. After this is called, we can continue submitting packets, or we can write out pages.
21 <p>In a typical decoding situation, this should be used after filling a packet with data
24 <table border=0 color=black cellspacing=0 cellpadding=7>
28 int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op);
37 <dd>Pointer to a previously declared <a href="ogg_stream_state.html">ogg_stream_state</a> struct.</dd>
39 <dd>Pointer to the packet we are putting into the bitstream.
43 <h3>Return Values</h3>
46 0 is always returned.</li>
52 <table border=0 width=100%>
54 <td><p class=tiny>copyright © 2000 xiph.org</p></td>
55 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@xiph.org">team@xiph.org</a></p></td>
57 <td><p class=tiny>libogg documentation</p></td>
58 <td align=right><p class=tiny>libogg release 1.0 - 20000615</p></td>