Index: acoustid-fingerprinter-0.6/decoder.h =================================================================== --- acoustid-fingerprinter-0.6/decoder.h +++ acoustid-fingerprinter-0.6/decoder.h 2017-03-09 16:55:45.256801977 +0100 @@ -184,6 +184,9 @@ return false; } + /* request regular signed 16-bit packed format */ + m_codec_ctx->request_sample_fmt = AV_SAMPLE_FMT_S16; + if (avcodec_open2(m_codec_ctx, codec, NULL) < 0) { m_error = "Couldn't open the codec."; return false;