[vorbis-dev] Re: ov_open returning OV_EBADHEADER

Rodrigo Gómez rgomez at msa.com.mx
Thu Jul 24 07:43:41 PDT 2003



Yes... that was the problem.

Thanks!

Rodrigo Gómez.

"Michael Smith" <msmith at xiph.org> escribió en el mensaje
news:200307241130.17015.msmith at xiph.org...
On Thursday 24 July 2003 09:05, Rodrigo Gómez wrote:
> Hi there.
>
> I'm having this problem when trying to open the stream to play it. What
I'm
> doing is the following:
>
>     archivo_original = fopen(Archivo.c_str(), "r");

If you're doing this on windows, this line is wrong. By default, windows
mangles files being read. You should use "rb" to correct this behaviour.

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

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