Commit c82b03a7 authored by Max Kellermann's avatar Max Kellermann

decoder/wavpack: fix crash bug

parent 58fb36bd
ver 0.20.1 (not yet released) ver 0.20.1 (not yet released)
* input * input
- curl: fix crash bug - curl: fix crash bug
* decoder
- wavpack: fix crash bug
* storage * storage
- curl: new storage plugin for WebDAV (work in progress) - curl: new storage plugin for WebDAV (work in progress)
* mixer * mixer
......
...@@ -536,7 +536,7 @@ wavpack_streamdecode(DecoderClient &client, InputStream &is) ...@@ -536,7 +536,7 @@ wavpack_streamdecode(DecoderClient &client, InputStream &is)
auto is_wvc = wavpack_open_wvc(client, is.GetURI()); auto is_wvc = wavpack_open_wvc(client, is.GetURI());
if (is_wvc) { if (is_wvc) {
open_flags |= OPEN_WVC; open_flags |= OPEN_WVC;
can_seek &= wvc->is.IsSeekable(); can_seek &= is_wvc->IsSeekable();
wvc.reset(new WavpackInput(&client, *is_wvc)); wvc.reset(new WavpackInput(&client, *is_wvc));
} }
......
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