[SDL] Trouble using sdl_mixer and OGG files

Sam Lantinga slouken at devolution.com
Tue Jun 12 23:55:35 PDT 2007


> Yes, it happens if I build it from source under Windows using Visual Stuido
> 2003 or VS2005. 

> 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.  The file point is a valid file pointer.  In the actual
> callback it appears to be crashing trying to do the fseek to the start of
> the file.  I will try changing the compile type from Multithreaded to single
> threaded and see if it still crashes.

Any luck with that?

	-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


More information about the SDL mailing list