• Eric Wong's avatar
    Simplify decode cleanup logic a bit · 2cc59816
    Eric Wong authored
    DECODE_STATE_STOP is always set as dc->state, and dc->stop
    is always cleared.  So handle it in decodeStart once rather
    than doing it in every plugin.
    
    While we're at it, fix a long-standing (but difficult to
    trigger) bug in mpc_decode where we failed to return
    if mpc_decoder_initialize() fails.
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@7122 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    2cc59816
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am 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...