Small code reduction in oc_vlc_mv_comp_unpack().
[xiph/unicode.git] / Tremor / doc / ov_comment.html
blob5d9cc0b085617babde4d6f1b530969073f6d8c13
1 <html>
3 <head>
4 <title>Tremor - function - ov_bitrate</title>
5 <link rel=stylesheet href="style.css" type="text/css">
6 </head>
9 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
10 <table border=0 width=100%>
11 <tr>
12 <td><p class=tiny>Tremor documentation</p></td>
13 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
14 </tr>
15 </table>
17 <h1>ov_comment</h1>
19 <p><i>declared in "ivorbisfile.h";</i></p>
21 <p>Returns a pointer to the <a href="vorbis_comment.html">vorbis_comment</a> struct for the specified bitstream. For nonseekable streams, returns the struct for the current bitstream.
22 <p>
24 <br><br>
25 <table border=0 color=black cellspacing=0 cellpadding=7>
26 <tr bgcolor=#cccccc>
27 <td>
28 <pre><b>
29 vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
30 </b></pre>
31 </td>
32 </tr>
33 </table>
35 <h3>Parameters</h3>
36 <dl>
37 <dt><i>vf</i></dt>
38 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec
39 functions.</dd>
40 <dt><i>i</i></dt>
41 <dd>Link to the desired logical bitstream. For nonseekable files, this argument is ignored. To retrieve the <a href="vorbis_comment.html">vorbis_comment</a> struct for the current bitstream, this parameter should be set to -1.</dd>
42 </dl>
45 <h3>Return Values</h3>
46 <blockquote>
47 <li>Returns the vorbis_comment struct for the specified bitstream.</li>
48 <li>NULL if the specified bitstream does not exist or the file has been initialized improperly.</li>
49 </blockquote>
50 <p>
52 <br><br>
53 <hr noshade>
54 <table border=0 width=100%>
55 <tr valign=top>
56 <td><p class=tiny>copyright &copy; 2002 Xiph.org</p></td>
57 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
58 </tr><tr>
59 <td><p class=tiny>Tremor documentation</p></td>
60 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
61 </tr>
62 </table>
64 </body>
66 </html>