• Max Kellermann's avatar
    shout_mp3: call lame_close() in clear_encoder() method · 3b0a78fe
    Max Kellermann authored
    The shout_mp3 encoder had two bugs: when no song was ever played, MPD
    segfaulted during cleanup.  Second bug: memory leak, each time the
    shout device was opened, lame_init() was called again, and
    lame_close() is only called once during shutdown.
    
    Fix this by shutting down LAME each time the clear_encoder() method is
    called.
    3b0a78fe
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...