aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/wavpack_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 07:13:55 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 07:13:55 +0100
commit010a27cd95bb48b737ca12a72ef63e9c8e4501d5 (patch)
tree33f4975a3e2e94a0c941ebdb08ed81a076b97c64 /src/decoder/wavpack_plugin.c
parent104d5120c9754ffe9ca6fbd532d24abc98ef4155 (diff)
downloadmpd-010a27cd95bb48b737ca12a72ef63e9c8e4501d5.tar.gz
mpd-010a27cd95bb48b737ca12a72ef63e9c8e4501d5.tar.xz
mpd-010a27cd95bb48b737ca12a72ef63e9c8e4501d5.zip
wavpack: don't close the stream
The input_stream object is opened and closed by the caller.
Diffstat (limited to 'src/decoder/wavpack_plugin.c')
-rw-r--r--src/decoder/wavpack_plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 18073c070..132cd4f0b 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -494,7 +494,6 @@ wavpack_streamdecode(struct decoder * decoder, struct input_stream *is)
WavpackCloseFile(wpc);
if (open_flags & OPEN_WVC)
input_stream_close(&is_wvc);
- input_stream_close(is);
return true;
}