diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx index 74567cc82..34b214339 100644 --- a/src/decoder/plugins/SndfileDecoderPlugin.cxx +++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx @@ -197,7 +197,8 @@ sndfile_stream_decode(Decoder &decoder, InputStream &is) SndfileInputStream sis{&decoder, is}; SNDFILE *const sf = sf_open_virtual(&vio, SFM_READ, &info, &sis); if (sf == nullptr) { - LogWarning(sndfile_domain, "sf_open_virtual() failed"); + FormatWarning(sndfile_domain, "sf_open_virtual() failed: %s", + sf_strerror(nullptr)); return; }