[SDL] Trouble using sdl_mixer and OGG files

Ken Rogoway Ken at HomebrewSoftware.com
Tue Jun 5 12:27:51 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.
>
>I have attached a short OGG file that demonstrates this crash using
>SDL-1.2.11 and SDL_Mixer-1.2.7.  Build the PLAYMUS sample app that is
included with SDL_Mixer
>and you will see that it crashes with the above error when trying to play
this OGG file.

As I thought, switching back to SDL_Mixer-1.2.5 works fine.  There appears
to be a bug in SDL_Mixer-1.2.7 (or else I am doing something incorrectly).

- Ken Rogoway
Homebrew Software

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.7/830 - Release Date: 6/3/2007
12:47 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.9/834 - Release Date: 6/5/2007 2:38
PM
 
  

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.9/834 - Release Date: 6/5/2007 2:38
PM
 
    

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.9/834 - Release Date: 6/5/2007 2:38
PM
 



More information about the SDL mailing list