Re: md5 checksum

Josh Coalson <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.user
Message-ID <[email protected]>
--- Harry Sack <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.