QUOTE(ozmosis82 @ Oct 21 2006, 04:00)

Anyway, I went to WavPack because of the MD5 checksum that it stores and uses to check against when decoding. I realise that FLAC stores the MD5 checksum in the compressed file's metadata, but I wasn't sure if it actually checks against it when decoding.
FLAC was the first codec to have the MD5 sum (it was there from the beginning) and it checks it when decoding.
http://flac.sourceforge.net/documentation.html"In test mode, flac acts just like in decode mode, except no output file is written. Both decode and test modes detect errors in the stream, but they also detect when the MD5 signature of the decoded audio does not match the stored MD5 signature, even when the bitstream is valid. "
http://flac.sourceforge.net/documentation...._options_decode-d, --decode Decode (flac encodes by default). flac will exit with an exit code of 1 (and print a message, even in silent mode) if there were any errors during decoding, including when the MD5 checksum does not match the decoded output. Otherwise the exit code will be 0.
Josh