As one that has been responsible for adding the little chunks of crap at the end of wave files here's a clue to keeping it clean... Obey the RIFF format. If the first DWORD tag is unknown look at the second DWORD for how long the unknown chunk is and skip it. All this WAVEFORMAT(EX) size confusion is usually solved by looking at the ' fmt' tags second DWORD (size). There's a utility RIFFWALK.EXE from the WIN32 platform SDK that does a nice quick job of parsing a RIFF file (AVI and WAV). This can let you see what chunks might be causing problems. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.