• 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
mikmod_plugin.c 4.78 KB