From a49b49cba74ca0600d87014c1af4fe3e5e1d5d38 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 13 Oct 2021 12:09:30 +0200 Subject: [PATCH] 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! --- NEWS | 1 + src/decoder/plugins/WavpackDecoderPlugin.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 7a62ffa57..9c96f7416 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/src/decoder/plugins/WavpackDecoderPlugin.cxx b/src/decoder/plugins/WavpackDecoderPlugin.cxx index b1a685851..a2750c4cd 100644 --- a/src/decoder/plugins/WavpackDecoderPlugin.cxx +++ b/src/decoder/plugins/WavpackDecoderPlugin.cxx @@ -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; }