Mix_LoadMUS_RW fails loading an OGG (SDL_mixer 1.2.6)


I’m trying to play an OGG file stored in memory with Mix_LoadMUS_RW but the SDL tries to call an uninitialized function. See the output of gdb :

#0 0x00000000 in ?? ()
#1 0xb7ed5444 in sdl_seek_func (datasource=0x8053438, offset=0, whence=0) at music_ogg.c:94
#2 0xb7bff4fa in ov_pcm_seek_page () from /usr/lib/libvorbisfile.so.3
#3 0xb7bff8a6 in ov_pcm_seek () from /usr/lib/libvorbisfile.so.3
#4 0xb7bffe73 in ov_time_seek () from /usr/lib/libvorbisfile.so.3
#5 0xb7ed58b7 in OGG_jump_to_time (music=0x80578e8, time=0) at music_ogg.c:241
#6 0xb7ed3975 in music_internal_position (position=0) at music.c:835
#7 0xb7ed3eec in music_internal_play (music=0x80578e8, position=0) at music.c:769
#8 0xb7ed3f99 in Mix_FadeInMusicPos (music=0x80578c8, loops=134558776, ms=0, position=0) at music.c:808
#9 0xb7ed4026 in Mix_PlayMusic (music=0x80578c8, loops=-1) at music.c:819
#10 0x08048e72 in main ()

the sdl_seek_font( function calls datasource->seek(datasource, offset, whence). The problem is that datasource->seek is NULL.

I’ve attached a sample program, if you want to test by yourself.

Did I forgot something ? is there a workaround ?

Faites de Yahoo! votre page d’accueil sur le web pour retrouver directement vos services pr?f?r?s : v?rifiez vos nouveaux mails, lancez vos recherches et suivez l’actualit? en temps r?el. Cliquez ici.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: test_mixer_mem.cpp
Type: text/x-c++src
Size: 1194 bytes
Desc: 3117254262-test_mixer_mem.cpp
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060525/cce06dcd/attachment.cpp