[vorbis-dev] Re: Seeking ogg-vorbis

Stan Seibert volsung at mailsnare.net
Fri Jul 25 19:07:03 PDT 2003



On Fri, 2003-07-25 at 21:14, Rodrigo Gómez wrote:
> But I do have a question: I usually enable CodeGuard (somekind of mem check
> library that Borland provides) and it insists that the file handle to the
> file (opened by fopen, and later by ov_open, and closed, as the docs says,
> only by ov_clear) is not freed. I know that CodeGuard is somewhat dumb in a
> lot of aspects, and this may be one, but I just want to confirm: I don't
> need to call fclose if I opened and closed fine the file with the ogg vorbis
> functions?

Correct.  ov_clear() will close it for you.  In fact, if you try and
close it after ov_clear(), your program will crash on some systems.


---
Stan Seibert

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list