PDA

View Full Version : OggVorbis - VorbisFile's ov_open crashes.


leandrillo
12-31-2004, 12:03 PM
Happy New year to everyone!

I'm trying to use Xiph OggVorbis Library for decoding and OpenAL for playback.
However when I do the first call to the OggVorbis library, (ov_open(FILE *, ...) ) the program crashes: "oggvorbis.exe caused blablabla on ntdll.dll (or kernel32.dll if win98)".
I don't think it's a problem of my code because I also compiled some programs from the internet (from dev-master, gamedev.net, etc.) and I had the same problem.
I rather think it's a S.O. + OggVorbis Library + compiler problem, or something like that. I'm using MSVC 6.0, Win98 or WinXP, OggVorbis 1.0
Please Help!!![B]

hh10k
12-31-2004, 10:34 PM
I'm a bit warey of passing FILE*s to DLLs that could be using any C library. I'd either compile the Ogg DLLs up myself, or use ov_open_callbacks.