Chris@1: <html> Chris@1: Chris@1: <head> Chris@1: <title>libogg - function - ogg_stream_destroy</title> Chris@1: <link rel=stylesheet href="style.css" type="text/css"> Chris@1: </head> Chris@1: Chris@1: <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> Chris@1: <table border=0 width=100%> Chris@1: <tr> Chris@1: <td><p class=tiny>libogg documentation</p></td> Chris@1: <td align=right><p class=tiny>libogg release 1.3.0 - 20110804</p></td> Chris@1: </tr> Chris@1: </table> Chris@1: Chris@1: <h1>ogg_stream_destroy</h1> Chris@1: Chris@1: <p><i>declared in "ogg/ogg.h";</i></p> Chris@1: Chris@1: <p>This function frees the internal memory used by Chris@1: the <a href="ogg_stream_state.html">ogg_stream_state</a> struct as Chris@1: well as the structure itself. Chris@1: Chris@1: <p>This should be called when you are done working with an ogg stream. Chris@1: It can also be called to make sure that the struct does not exist.</p> Chris@1: Chris@1: <p>It calls free() on its argument, so if the ogg_stream_state Chris@1: is not malloc()'d or will otherwise be freed by your own code, use Chris@1: <a href="ogg_stream_clear.html">ogg_stream_clear</a> instead.</p> Chris@1: Chris@1: <br><br> Chris@1: <table border=0 color=black cellspacing=0 cellpadding=7> Chris@1: <tr bgcolor=#cccccc> Chris@1: <td> Chris@1: <pre><b> Chris@1: int ogg_stream_destroy(ogg_stream_state *os); Chris@1: </b></pre> Chris@1: </td> Chris@1: </tr> Chris@1: </table> Chris@1: Chris@1: <h3>Parameters</h3> Chris@1: <dl> Chris@1: <dt><i>os</i></dt> Chris@1: <dd>Pointer to the ogg_stream_state struct to be destroyed.</dd> Chris@1: </dl> Chris@1: Chris@1: Chris@1: <h3>Return Values</h3> Chris@1: <blockquote> Chris@1: <li> Chris@1: 0 is always returned.</li> Chris@1: </blockquote> Chris@1: <p> Chris@1: Chris@1: <br><br> Chris@1: <hr noshade> Chris@1: <table border=0 width=100%> Chris@1: <tr valign=top> Chris@1: <td><p class=tiny>copyright © 2000-2011 Xiph.Org</p></td> Chris@1: <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td> Chris@1: </tr><tr> Chris@1: <td><p class=tiny>libogg documentation</p></td> Chris@1: <td align=right><p class=tiny>libogg release 1.3.0 - 20110804</p></td> Chris@1: </tr> Chris@1: </table> Chris@1: Chris@1: Chris@1: </body> Chris@1: Chris@1: </html>