On 10/29/2024 11:47 AM, Tomas Härdin wrote:
Could maybe use some kind of compile-time assert that
FLAC_STREAMINFO_SIZE == MD5_BYTE_SIZE + 18. I'm thinking putting in st-
codecpar->extradata + st->codecpar->extradata_size - MD5_BYTE_SIZE for
the offset

Spotify comments
----------------
Make it possible to verify sample checksum for FLAC files

Possible other solutions:
     • Make ffmpeg FLAC demuxer capable of optionally check sample
checksum. One tricky thing is that we currently have heuristics to not
trust the checksums based on other metadata (known broken transcoding
software)

If this is available in extradata, why export it a second time as metadata?

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to