ogg_sync_destroy.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <html>
  2. <head>
  3. <title>libogg - function - ogg_sync_destroy</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.3.4 - 20190830</p></td>
  11. </tr>
  12. </table>
  13. <h1>ogg_sync_destroy</h1>
  14. <p><i>declared in "ogg/ogg.h";</i></p>
  15. <p>This function is used to destroy an <a href="ogg_sync_state.html">ogg_sync_state</a> struct and free all memory used.</p>
  16. <p>Note this calls free() on its argument so you should only use this
  17. function if you've allocated the ogg_sync_state on the heap. If it is
  18. allocated on the stack, or it will otherwise be freed by your
  19. own code, use <a href="ogg_sync_clear.html">ogg_sync_clear</a> instead
  20. to release just the internal memory.</p>
  21. <br><br>
  22. <table border=0 color=black cellspacing=0 cellpadding=7>
  23. <tr bgcolor=#cccccc>
  24. <td>
  25. <pre><b>
  26. int ogg_sync_destroy(<a href="ogg_sync_state.html">ogg_sync_state</a> *oy);
  27. </b></pre>
  28. </td>
  29. </tr>
  30. </table>
  31. <h3>Parameters</h3>
  32. <dl>
  33. <dt><i>oy</i></dt>
  34. <dd>Pointer to a previously declared <a href="ogg_sync_state.html">ogg_sync_state</a> struct.</dd>
  35. </dl>
  36. <h3>Return Values</h3>
  37. <blockquote>
  38. <li>
  39. 0 is always returned.</li>
  40. </blockquote>
  41. <p>
  42. <br><br>
  43. <hr noshade>
  44. <table border=0 width=100%>
  45. <tr valign=top>
  46. <td><p class=tiny>copyright &copy; 2000-2019 Xiph.Org Foundation</p></td>
  47. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/">Ogg Container Format</a></p></td>
  48. </tr><tr>
  49. <td><p class=tiny>libogg documentation</p></td>
  50. <td align=right><p class=tiny>libogg release 1.3.4 - 20190830</p></td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>