[tremor] OV_EBADHEADER Problem

kapil vorbis kapil_ogg_vorbis at hotmail.com
Tue Mar 16 12:25:53 PST 2004



Ah....turns out that it was just the way I was opening the file.

Since its windows, I had to open it as binary explicitly.
fptr = fopen("file.ogg", "rb");

Seems to open alright now.

Thanks
Kapil

<p>-----Original Message-----
From: owner-tremor at xiph.org [mailto:owner-tremor at xiph.org] On Behalf Of
42Bastian Schick
Sent: Monday, March 15, 2004 1:27 AM
To: tremor at xiph.org
Subject: Re: [tremor] OV_EBADHEADER Problem

>
> I'm working with the Tremor source on a TI DSP.  I have the library 
> compiling.
>
> However, when i try and use ov_test using an ogg file, i get an 
> OV_EBADHEADER (-133) as my return value from the function.
>
> I am pretty sure the file is valid, as i am able to play it using
winamp 
> on my PC.
>
> Any ideas as to what could cause such a problem?

A) Check the endianess !
B) Single step through the code to see what makes it think the header is

bad.


-- 
42Bastian
--- >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
'tremor-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.
--- >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 'tremor-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 Tremor mailing list