4 <title>libvorbis - function - vorbis_comment_init</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>libvorbis documentation</p></td>
12 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>
16 <h1>vorbis_comment_init</h1>
18 <p><i>declared in "vorbis/codec.h";</i></p>
20 <p>This function initializes a <a href="vorbis_comment.html">vorbis_comment</a>
21 structure for use. After calling this function, the vorbis_comment
22 structure contains no comments.</p>
24 <p><i>Note:</i> No internal storage is allocated by this function;
25 internal storage is allocated as needed by other libvorbis functions that
26 modify the vorbis_comment structure. If you modify the vorbis_comment
27 structure directly, without using libvorbis, you should <i>not</i>
28 call <a href="vorbis_comment_clear.html">vorbis_comment_clear</a> when
29 you are finished but instead clean up after it yourself. See the note
30 on the <a href="vorbis_comment_clear.html">vorbis_comment_clear</a>
31 page for more information.</p>
33 <table border=0 color=black cellspacing=0 cellpadding=7>
37 extern void vorbis_comment_init(vorbis_comment *vc);
46 <dd>Pointer to the <a href="vorbis_comment.html">vorbis_comment</a>
47 structure to initialize.</dd>
51 <h3>Return Values</h3>
59 <table border=0 width=100%>
61 <td><p class=tiny>copyright © 2010 Xiph.Org</p></td>
62 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a></p></td>
64 <td><p class=tiny>libvorbis documentation</p></td>
65 <td align=right><p class=tiny>libvorbis version 1.3.2 - 20101101</p></td>