[vorbis-dev] WAV header (hey Mike)

Monty xiphmont at xiph.org
Wed Aug 9 21:37:29 PDT 2000



> Not really sure what you're seeing here that's so abnormal other than the
> PAD chunk.  Many RIFF tools (mosly video encoders) write RIFFs with
> similar blocks (i.e. JUNK, INFO)
> 
> Anything reading RIFFs should not have a hard-coded sequence of expected
> chunks.

I know.  However, 'PAD ' isn't in the spec, and I didn't recall RIFF allowing 
any arbitrary chunk type, although that would seem to be the case.

>  Any FCC is legal within the context of a RIFF; if a player runs
> into a chunk with an unknown FCC it's expected to simply ignore it.
> 
> The only rule for the chunk sequencing in RIFF waveforms is that the fmt
> chunk occur before the data chunk.

Yes, this would be the obvious fix.

Monty

> 
> Tony Arcieri
> 
> 
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> 

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list