We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1489

Summary: Mix_LoadMUS not properly decoding vorbis files
Product: SDL_mixer Reporter: raptor85
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86_64   
OS: Linux   

Description raptor85 2012-05-05 22:24:33 UTC
Current HG build of SDL2_mixer all vorbis files loaded with Mix_LoadMUS produce a Mix_Music sample of just static noise on load with no error message set for either Mix_GetError() or SDL_GetError().  

The same sound file works properly if loaded as a Mix_Chunk with Mix_LoadWAV. Since the code is identical, compiling and linking it against SDL 1.2 both functions act properly, so this is a new error introduced in 2.0.

MixLoadMUS works fine however with FLAC, .it, and .wav files so far as i've tested, only vorbis files seem effected.

SDL_mixer was configured as 
./configure --enable-music-mp3=no --prefix=/usr --exec-prefix=/usr
to disable MP3 support (as current stable smpeg does not work with the HG source and I didn't need mp3 support)

libvorbis version is 1.3.2
Comment 1 Sam Lantinga 2017-10-21 22:23:36 UTC
Fixed in the latest Mercurial:
http://hg.libsdl.org/SDL_mixer