Commit 30f1ee7a authored by Max Kellermann's avatar Max Kellermann

decoder/sndfile: log libsndfile version on startup

parent 46ff830d
......@@ -32,6 +32,13 @@
static constexpr Domain sndfile_domain("sndfile");
static bool
sndfile_init(gcc_unused const config_param &param)
{
LogDebug(sndfile_domain, sf_version_string());
return true;
}
struct SndfileInputStream {
Decoder *const decoder;
InputStream &is;
......@@ -282,7 +289,7 @@ static const char *const sndfile_mime_types[] = {
const struct DecoderPlugin sndfile_decoder_plugin = {
"sndfile",
nullptr,
sndfile_init,
nullptr,
sndfile_stream_decode,
nullptr,
......
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