[FFmpeg-devel] [PATCH 05/15] libavformat/flacdec: Export samples md5 as metadata
Tomas Härdin
git at haerdin.se
Tue Oct 29 16:47:09 EET 2024
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)
/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-libavformat-flacdec-Export-samples-md5-as-metadata.patch
Type: text/x-patch
Size: 3778 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241029/f02ec03d/attachment.bin>
More information about the ffmpeg-devel
mailing list