[vorbis] Mixing libvorbisfile with SDL

Stan Seibert volsung at mailsnare.net
Sat Sep 20 07:48:59 PDT 2003



On Sat, 2003-09-20 at 07:28, Greg Wooledge wrote:
> Stan Seibert (volsung at mailsnare.net) wrote:
> 
> > "After a bitstream has been opened using ov_open()/ov_open_callbacks() 
> > and  decoding  is  complete,  the application  must  call  ov_clear() to
> > clear the decoder's buffers and close the file." [From
> > doc/vorbisfile/ov_clear.html]
> 
> Oh, my.  That's quite ambiguous.  "the application must ... and close
> the file." sounds like it's the application's responsibility to call
> close() or fclose().
> 
> I'd change it to something like "the application must call ov_clear()
> to clear the decoder's buffers.  ov_clear() will close the file."

Agreed, now fixed in CVS.


---
Stan Seibert

<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-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 mailing list