Original commit message from CVS: Add a local copy of riff.h as we don't use rifflib anymore. Rewrite the main loop to use bytestreams instead of rifflib. Make it a loopbased filter. Handle metadata, cues and labels as well