[vorbis] ov_open error

elliot_kwestel at nysunburst.com elliot_kwestel at nysunburst.com
Wed Apr 24 15:03:48 PDT 2002



Hi,

I put together a small a Visual C++ 6.0 project that uses the code from
vorbisfile_example.c.  I open an ogg file in binary mode and when ov_open
gets called, it always fails. I then put together another project and
compiled vorbisfile so I could see where the error was occuring. It is
happening in _fetch_headers when it calls ogg_stream_packetout. The return
values is -1, which means there is a bad header.
I took the same ogg file and then I tried using it with code from
decoder_example.c and when it calls ogg_stream_packetout it is fine.

Any suggestions?

Thanks
-Elliot

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