[vorbis] Streaming ogg from filepointer pointing to archiveofmany oggs. Ogg stream does not stop after end of one ogg file- what todo ?

Michael Smith msmith at xiph.org
Sun Apr 25 18:39:52 PDT 2004



On Saturday 24 April 2004 04:46, Andre Krause wrote:
> So far,  the section - variable check works. The music stops playing. But
> now i have a problem i suspect to be a bug in ogg:
>
> Assume i have a simple archive "musik.pak", created by simply concatenating
> binary files together, consisting of 4 files:

> Gives a problem. Now, ov_open fails and returns -123 (OV_EBADLINK ). What
> does this mean ?
> The filepointer was placed to the beginning of a simple ogg, just like
> placing it to test1.ogg...
>
> Placing the filepointer to the beginning of test3.ogg results in the same
> error code.

You're not allowed to do this:

You must either 
 a) provide a normal ogg file, or
 b) use ov_open_callbacks() with an appropriate set of callbacks.

What you're trying to do is not intended to work: libvorbisfile can and will 
seek over the rest of the file if it's seekable, when using the default 
(stdio) mechanisms.

Mike

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