decoder/wavpack: fix WVC file support

The wrong variable was used.  This has been broken by commit
4eeea640f4 seven years ago - and nobody as noticed, d'oh!
This commit is contained in:
Max Kellermann 2021-10-13 12:09:30 +02:00
parent f510564d9d
commit a49b49cba7
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -12,6 +12,7 @@ ver 0.23 (not yet released)
- upnp: support libnpupnp instead of libupnp
* decoder
- openmpt: new plugin
- wavpack: fix WVC file support
* output
- oss: support DSD over PCM
- pipewire: new plugin

View File

@ -521,7 +521,7 @@ wavpack_open_wvc(DecoderClient &client, const char *uri)
};
try {
return client.OpenUri(uri);
return client.OpenUri(wvc_url);
} catch (...) {
return nullptr;
}