[vorbis-dev] Borland modification

Monty xiphmont at xiph.org
Tue Aug 29 14:49:35 PDT 2000



> I've traced a problem to line 553 of vorbisfile.c:
>     if(vf->datasource)(vf->callbacks.close_func)(vf->datasource);
> 
> It seems that while the vorbisfile library does not open the file, it
> does close it.  I believe that may cause problems when the vorbis
> library is accessed through a DLL.  A DLL should not free a resource
> that it does not own.  Is there a reason why vorbisfile closes the
> file?

The source documentation states that once you give vorbisfile the FILE* handle 
(or whatever you're actually using) Vorbisfile owns it.  Of course, that doc 
is still in the pipeline I think... (Kim?  How's it coming?)

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list