[vorbis-dev] Borland modification

Chris Craig chris3 at cs.mun.ca
Tue Aug 29 13:37:20 PDT 2000



On Sun, 27 Aug 2000, Michael Smith wrote:

> The other problem I haven't seen. Further, I don't see why it would happen,
> or indeed HOW it could happen (assuming no heap corruption). Could you give
> further details on when/why/how this occurs? 

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?

Chris
http://www.goldwave.com

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



More information about the Vorbis-dev mailing list