[flac] md5 checksum

Josh Coalson xflac at yahoo.com
Thu Oct 18 17:29:30 PDT 2007


--- Harry Sack <tranzedude at gmail.com> wrote:
> hi
> 
> here some questions about the md5 checksum:
> 
> - what happens when the md5 checksum of the decoded audio is
> different
> of the internally stored checksum due to file corruption ? Will
> playing/decoding still be possible (with some error frames) or will
> playing /decoding be not possible at all (so all audio data is lost)?

md5 does not affect decoding at all, it is a just a checksum to
tell you at the end if it matches the whole audio or not.

> - what happens when the metadata blocks get corrupt? will the audio
> part still be decodable even when non-audio blocks are corrupt?

yes

> - since there is only a md5 checksum on the audio blocks itself, what
> happens when some wav metadata gets corrupt and you want to decode
> that data? How can the decoder detect it's corrupt or not because
> there is no md5 checksum for this data?

depends on the corruption, some kinds are recoverable, some are not.
read the format spec first and it should become clear.

Josh


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Flac mailing list