• Max Kellermann's avatar
    decoder_thread: reopen the stream after file_decode() has failed · 2536b0da
    Max Kellermann authored
    When decoding a local file, the decoder thread tries to run all
    matching decoders, until one succeeds.  Both file_decode() and
    stream_decode() can decode a stream, but MPD closes the stream before
    calling file_decode().  Problem is: when this decoder fails, and the
    next's stream_decode() method is invoked, the input_stream is still
    closed.  This patch reopens it.
    2536b0da
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test 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...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...