OggVorbis - VorbisFile's ov_open crashes.

616b824e9d476e36b98bcb92cffba988
0
leandrillo 101 Dec 31, 2004 at 19:03

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!!!**
**

1 Reply

Please log in or register to post a reply.

8e14457388f62214007474121fa0ff8a
0
hh10k 101 Jan 01, 2005 at 05:34

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.