diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-26 18:18:10 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-26 18:26:46 +0200 |
commit | e16fd4a09b7af5dc1501e996573881f4b3975d67 (patch) | |
tree | 7f86f5323eed5dea2596c1a4de6ee4c13e05bba5 /src/input | |
parent | 097e2b6c622b949c7d66176ce0df17ad47de8b86 (diff) |
input/qobuz: initialize the libgcrypt library
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/plugins/QobuzInputPlugin.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/plugins/QobuzInputPlugin.cxx b/src/input/plugins/QobuzInputPlugin.cxx index 44bc5819b..29723b24a 100644 --- a/src/input/plugins/QobuzInputPlugin.cxx +++ b/src/input/plugins/QobuzInputPlugin.cxx @@ -28,6 +28,7 @@ #include "input/FailingInputStream.hxx" #include "input/InputPlugin.hxx" #include "config/Block.hxx" +#include "lib/gcrypt/Init.hxx" #include "thread/Mutex.hxx" #include "util/StringCompare.hxx" @@ -126,6 +127,8 @@ QobuzInputStream::OnQobuzTrackError(std::exception_ptr e) noexcept static void InitQobuzInput(EventLoop &event_loop, const ConfigBlock &block) { + Gcrypt::Init(); + const char *base_url = block.GetBlockValue("base_url", "http://www.qobuz.com/api.json/0.2/"); |