ogg_packet_clear.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <html>
  2. <head>
  3. <title>libogg - function - ogg_packet_clear</title>
  4. <link rel=stylesheet href="style.css" type="text/css">
  5. </head>
  6. <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
  7. <table border=0 width=100%>
  8. <tr>
  9. <td><p class=tiny>libogg documentation</p></td>
  10. <td align=right><p class=tiny>libogg release 1.2.1 - 20101029</p></td>
  11. </tr>
  12. </table>
  13. <h1>ogg_packet_clear</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function clears the memory used by the <a href="ogg_packet.html">ogg_packet</a> struct,
  16. but does not free the structure itself.
  17. It unconditionally frees the <i>packet</i> data buffer,
  18. then it zeros all structure members.
  19. <br><br>
  20. <table border=0 color=black cellspacing=0 cellpadding=7>
  21. <tr bgcolor=#cccccc>
  22. <td>
  23. <pre><b>
  24. void ogg_packet_clear(ogg_packet *op);
  25. </b></pre>
  26. </td>
  27. </tr>
  28. </table>
  29. <h3>Parameters</h3>
  30. <dl>
  31. <dt><i>op</i></dt>
  32. <dd>Pointer to the ogg_packet struct to be cleared.</dd>
  33. </dl>
  34. <h3>Return Values</h3>
  35. <blockquote>
  36. <li>
  37. None.</li>
  38. </blockquote>
  39. <p>
  40. <br><br>
  41. <hr noshade>
  42. <table border=0 width=100%>
  43. <tr valign=top>
  44. <td><p class=tiny>copyright &copy; 2000-2010 Xiph.Org</p></td>
  45. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  46. </tr><tr>
  47. <td><p class=tiny>libogg documentation</p></td>
  48. <td align=right><p class=tiny>libogg release 1.2.1 - 20101029</p></td>
  49. </tr>
  50. </table>
  51. </body>
  52. </html>