1<html> 2 3<head> 4<title>libogg - function - ogg_stream_reset_serialno</title> 5<link rel=stylesheet href="style.css" type="text/css"> 6</head> 7 8<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 9<table border=0 width=100%> 10<tr> 11<td><p class=tiny>libogg documentation</p></td> 12<td align=right><p class=tiny>libogg release 1.0 - 20020719</p></td> 13</tr> 14</table> 15 16<h1>ogg_stream_reset</h1> 17 18<p><i>declared in "ogg/ogg.h";</i></p> 19 20<p>This function reinitializes the values in the 21<a href="ogg_stream_state.html">ogg_stream_state</a>, 22just like <a href="ogg_stream_reset.html">ogg_stream_reset()</a>. 23Additionally, it sets the stream serial number to the given value.</p> 24 25<br><br> 26<table border=0 color=black cellspacing=0 cellpadding=7> 27<tr bgcolor=#cccccc> 28 <td> 29<pre><b> 30int ogg_stream_reset_serialno(ogg_stream_state *os, int serialno); 31</b></pre> 32 </td> 33</tr> 34</table> 35 36<h3>Parameters</h3> 37<dl> 38<dt><i>os</i></dt> 39<dd>Pointer to the ogg_stream_state struct to be cleared.</dd> 40<dt><i>serialno</i></dt> 41<dd>New stream serial number to use</dd> 42</dl> 43 44 45<h3>Return Values</h3> 46<blockquote> 47<li> 480 indicates success. nonzero is returned on internal error.</li> 49</blockquote> 50<p> 51 52<br><br> 53<hr noshade> 54<table border=0 width=100%> 55<tr valign=top> 56<td><p class=tiny>copyright © 2002 Xiph.org Foundation</p></td> 57<td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td> 58</tr><tr> 59<td><p class=tiny>libogg documentation</p></td> 60<td align=right><p class=tiny>libogg release 1.0 - 20020719</p></td> 61</tr> 62</table> 63 64 65</body> 66 67</html> 68