[vorbis-dev] Problems with Vorbis & Mac OS

Segher Boessenkool segher at eastsite.nl
Fri Aug 18 06:30:59 PDT 2000



> The line endings conversion might have been the problem. I got it to 
> work about ten minutes ago, by using Quicktime to read the data 
> instead of fread(). It does seem pretty strange for fread() to be 
> doing cr/lf translation, since it's meant for reading binary data... 
> but I can't think of any other possible causes.

I may be mistaken, but I believe all f- functions will do conversions,
unless you open the files in binmode (like, fp=fopen("file", "rb"); )

You can try opening the stdio files in binary mode, or using raw read/writes
(using open(), read(), write(), etc).

Ciao,

Segher

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list