Commit 010a27cd authored by Max Kellermann's avatar Max Kellermann

wavpack: don't close the stream

The input_stream object is opened and closed by the caller.
parent 104d5120
...@@ -494,7 +494,6 @@ wavpack_streamdecode(struct decoder * decoder, struct input_stream *is) ...@@ -494,7 +494,6 @@ wavpack_streamdecode(struct decoder * decoder, struct input_stream *is)
WavpackCloseFile(wpc); WavpackCloseFile(wpc);
if (open_flags & OPEN_WVC) if (open_flags & OPEN_WVC)
input_stream_close(&is_wvc); input_stream_close(&is_wvc);
input_stream_close(is);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment