[SDL] Trouble using sdl_mixer and OGG files
Ken Rogoway
Ken at HomebrewSoftware.com
Tue Jun 5 07:56:50 PDT 2007
I have seen this problem listed multiple times on the forum, but so far I do
not see an answer.
I have an OGG file that worked fine back with SDL_Mixer-1.2.5. With the
latest mixer I have a problem where it crashes in music_ogg.c at line 79:
0xC0000005: Access violation writing location 0x00000010
This is the code it crashes on:
if ( vorbis.ov_open(fp, &music->vf, NULL, 0) < 0 ) {
The vorbis structure appears to be filled out with pointers to the various ogg
dll functions.
Since Mixer 1.2.5 used a lib and not a DLL I assume that this is related to
the problem. I can provide a sample OGG file to demonstrate this bug. I am
using Visual Studio 2003. I saw another post where the person had the same
error and they were using Visual Studio 2005.
- Ken Rogoway
Homebrew Software
More information about the SDL
mailing list