4 <title>Vorbisfile - function - ov_test_open</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>Vorbisfile documentation</p></td>
12 <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>
18 <p><i>declared in "vorbis/vorbisfile.h";</i></p>
21 Finish opening a file partially opened with <a href="ov_test.html">ov_test()</a>
22 or <a href="ov_test_callbacks.html">ov_test_callbacks()</a>.
25 <table border=0 color=black cellspacing=0 cellpadding=7>
29 int ov_test_open(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf);
38 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile
39 functions. Once this has been called, the same <tt>OggVorbis_File</tt>
40 struct should be passed to all the libvorbisfile functions.</dd>
44 <h3>Return Values</h3>
49 <li>less than zero for failure:</li>
51 <li>OV_EREAD - A read from media returned an error.</li>
52 <li>OV_ENOTVORBIS - Bitstream is not Vorbis data.</li>
53 <li>OV_EVERSION - Vorbis version mismatch.</li>
54 <li>OV_EBADHEADER - Invalid Vorbis bitstream header.</li>
55 <li>OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.</li>
63 <table border=0 width=100%>
65 <td><p class=tiny>copyright © 2007 Xiph.org</p></td>
66 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
68 <td><p class=tiny>Vorbisfile documentation</p></td>
69 <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>