You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FLAC: is_last not cleared when PADDING block inserted after #607
(apologies for the codegenned reproduction case - I did all the validation with ffprobe/xxd by hand and then codebotted out the repro case out of my codebase)
tl;dr I did a mass-transcode of some wavs into flac via flacenc-rs + lofty for carrying over the tags after the fact - when lofty adds a padding block after the VORBIS_COMMENT block, it doesn't clear is_last on the VORBIS_COMMENT block, which leads to inconsistent decoder errors during playback.
vlc, for example, will play back fine since it will ignore the is_last and just seeks for the start of the stream itself - but the same files served over my navidrome will inconsistently play back depending on how strict my client is with the FLACs.
thankfully just a one-byte fix to repair the emitted files :)
Activity
Serial-ATA commentedon Feb 12, 2026
Thanks! Looks like I missed a test case in #583, I'll take a look at this tonight.