[flac-dev] Looking for users of --keep-foreign-metadata

Martijn van Beurden mvanb1 at gmail.com
Wed Nov 2 18:20:06 UTC 2022

Op wo 2 nov. 2022 om 13:48 schreef Martijn van Beurden <mvanb1 at gmail.com>:
> Perhaps an option --force-stored-foreign-metadata could be added to
> have FLAC blindly use the foreign metadata chunks and data chunk
> headers. I think this might result in invalid files (wrong chunk
> sizes) in corner cases, for example when a FLAC file has been altered
> (shortened/lengthened) but the chunks haven't been updated. I think
> that might be the reason for the current behaviour.

Perhaps the middle ground here is to let FLAC output as it does now,
but warn the users when it differs from what is stored?

More information about the flac-dev mailing list