[vorbis] NULLs in ov_callbacks

Michael Smith msmith at labyrinth.net.au
Fri Sep 7 00:34:46 PDT 2001

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.


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