#1062584 libchromaprint1: Incorrect handling of end of input file

Package:
libchromaprint1
Source:
libchromaprint1
Description:
audio fingerprint library
Submitter:
E Harris
Date:
2024-02-02 03:21:03 UTC
Severity:
normal
#1062584#5
Date:
2024-02-02 03:17:27 UTC
From:
To:
There seems to be a bug in libchromaprint1 that is causing errors to
sometimes be reported when normal end of file has been reached.  This
then causes errors to be reported from fpcalc, which breaks picard
fingerprint calculation and submission in certain cases.

mp3val on the mp3 source reports no problems, so I don't think the
files that trigger this are actually damaged in any way.

The error being returned (via fpcalc) is:

ERROR: Error decoding audio frame (End of file)

This seems to stem from the inline FFmpegAudioReader::Read() in
src/audio/ffmpeg_audio_reader.h