[Flac-dev] Possible bug

Mark Powell M.S.Powell at salford.ac.uk
Fri Jan 5 06:46:01 PST 2001

  I have a large wav file generated by SoundForge. The last 176bytes of
the file are some sort of comment inserted by SoundForge. The length field
in the wav "data" chunk correctly specify the data length as:

<file-size> - (full wav header size) 44 - 176

However, flac seems to ignore this and compresses the comment along with
the wav data. When unflacced back to wav the length field in the data
chunk now specifies:

<file-size> - 44

It's lost the fact that the last 176 bytes are not actually part of the
audio. If it's not possible to carry this comment into the flac format
then it should be dropped rather than encoded as audio?

BTW It compressed the 350MB wav file perfectly at level 8.

Mark Powell - UNIX System Administrator - The University of Salford
Academic Information Services, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 5936  Fax: +44 161 295 5888  www.pgp.com for PGP key

More information about the Flac-dev mailing list