]> git.tdb.fi Git - ext/ogg.git/blob - doc/libogg/ogg_packet_clear.html
Import libogg 1.3.5 sources
[ext/ogg.git] / doc / libogg / ogg_packet_clear.html
1 <html>
2
3 <head>
4 <title>libogg - function - ogg_packet_clear</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.3.5 - 20210603</p></td>
13 </tr>
14 </table>
15
16 <h1>ogg_packet_clear</h1>
17
18 <p><i>declared in "ogg/ogg.h";</i></p>
19
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.
24 <br><br>
25 <table border=0 color=black cellspacing=0 cellpadding=7>
26 <tr bgcolor=#cccccc>
27         <td>
28 <pre><b>
29 void ogg_packet_clear(ogg_packet *op);
30 </b></pre>
31         </td>
32 </tr>
33 </table>
34
35 <h3>Parameters</h3>
36 <dl>
37 <dt><i>op</i></dt>
38 <dd>Pointer to the ogg_packet struct to be cleared.</dd>
39 </dl>
40
41
42 <h3>Return Values</h3>
43 <blockquote>
44 <li>
45 None.</li>
46 </blockquote>
47 <p>
48
49 <br><br>
50 <hr noshade>
51 <table border=0 width=100%>
52 <tr valign=top>
53 <td><p class=tiny>copyright &copy; 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>
55 </tr><tr>
56 <td><p class=tiny>libogg documentation</p></td>
57 <td align=right><p class=tiny>libogg release 1.3.5 - 20210603</p></td>
58 </tr>
59 </table>
60
61
62 </body>
63
64 </html>