• Matthias Drochner's avatar
    mikmod: call MikMod_Exit() only in the finish() method · 5b852886
    Matthias Drochner authored
    Hi -
    independently of libmikmod's other problems - there seems
    to be a problem in mpd's wrapper: MikMod_Exit() is called
    after the first file is decoded, which frees some ressources
    within the mikmod library. An attempt to play a second file
    leads to a crash. The appended patch fixes this for me.
    (I don't know what the "dup" entry is good for - someone
    who knows should review that too.)
    best regards
    Matthias
    
    [mk: removed 3 more MikMod_Exit() invocations]
    5b852886
Name
Last commit
Last update
..
_flac_common.c Loading commit data...
_flac_common.h Loading commit data...
_ogg_common.c Loading commit data...
_ogg_common.h Loading commit data...
aac_plugin.c Loading commit data...
audiofile_plugin.c Loading commit data...
ffmpeg_plugin.c Loading commit data...
flac_plugin.c Loading commit data...
mikmod_plugin.c Loading commit data...
modplug_plugin.c Loading commit data...
mp3_plugin.c Loading commit data...
mp4_plugin.c Loading commit data...
mpc_plugin.c Loading commit data...
oggflac_plugin.c Loading commit data...
oggvorbis_plugin.c Loading commit data...
wavpack_plugin.c Loading commit data...