4 <title>libogg - function - ogg_packet_clear</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.3.5 - 20210603</p></td>
16 <h1>ogg_packet_clear</h1>
18 <p><i>declared in "ogg/ogg.h";</i></p>
20 <p>This function clears the memory used by the <a href="ogg_packet.html">ogg_packet</a> struct,
21 but does not free the structure itself.
22 It unconditionally frees the <i>packet</i> data buffer,
23 then it zeros all structure members.
25 <table border=0 color=black cellspacing=0 cellpadding=7>
29 void ogg_packet_clear(ogg_packet *op);
38 <dd>Pointer to the ogg_packet struct to be cleared.</dd>
42 <h3>Return Values</h3>
51 <table border=0 width=100%>
53 <td><p class=tiny>copyright © 2000-2021 Xiph.Org Foundation</p></td>
54 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
56 <td><p class=tiny>libogg documentation</p></td>
57 <td align=right><p class=tiny>libogg release 1.3.5 - 20210603</p></td>