decoder/wavpack: fix crash bug
This commit is contained in:
parent
58fb36bdb9
commit
c82b03a74c
2
NEWS
2
NEWS
|
@ -1,6 +1,8 @@
|
||||||
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)
|
||||||
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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue