[vorbis] NULLs in ov_callbacks
Ignacio Vazquez-Abrams
ignacio at openservices.net
Fri Sep 7 06:38:33 PDT 2001
On Fri, 7 Sep 2001, Michael Smith wrote:
> At 07:07 PM 9/6/01 -0400, you wrote:
> >When calling ov_open_callbacks(), is it safe to have seek_func, tell_func, and
> >close_func all equal to NULL? If not, which ones must I provide and how can I
> >return an error e.g., data source is not seekable?
>
> This is all explicitly and clearly documented. Please read the docs.
> Short version: you must provide all of them. ov_seek() should return -1.
>
> Michael
I did read through the docs from CVS from a couple of days ago, but didn't
find any mention of this. Ah well.
Thank you for the response.
--
Ignacio Vazquez-Abrams <ignacio at openservices.net>
--- >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