Bug#1091825: libchromaprint-tools: fpcalc broken (`ERROR: Could not create an audio converter instance (Invalid argument)`)
Hey.
Did some debugging for an hour now, finding out that it works again
when changing in src/audio/ffmpeg_audio_processor_swresample.h the
following functions as given below:
void SetInputChannelLayout(AVChannelLayout *channel_layout) {
av_opt_set_chlayout(m_swr_ctx, "in_chlayout", channel_layout, 0);
}
void SetOutputChannelLayout(AVChannelLayout *channel_layout) {
av_opt_set_chlayout(m_swr_ctx, "out_chlayout", channel_layout, 0);
}
only to realise that this has been fixed upstream already few years ago
in
https://github.com/acoustid/chromaprint/commit/82781d02cd3063d071a501218297a90bde9a314f
Problem is that no new release has been made, and Debian doesn't use
git's tip.
Cheers,
Chris.
Reply to: