Re: Ogg encapsulation
"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> Sat, 3 Apr 2004 12:01:24 +0200
| Newsgroups | gmane.comp.graphics.mng.general |
|---|---|
| Organization | Triple-T |
| Message-ID | <406EA794.19124.3C45C126@localhost> |
> How about the following instead: > > 0x0001 crc present in datastream > 0x0010 crc checked for ancillary chunks; warning on mismatch > 0x0020 crc checked for ancillary chunks; error on mismatch > 0x0030 crc checked for ancillary chunks; discard on mismatch > 0x0040 crc checked for critical chunks; warning on mismatch > 0x0080 crc checked for critical chunks; error on mismatch Well. Can't say I have any objections to this pretty setup. I did start bits and pieces already, but don't mind switching to this layout. One item I did add is: 0x0002 generate crc in output streams (the default then becoming 0x093) Skipping the length would be trivial too as libmng writes chunks at a time, so in the write() callback you'd just skip the first 4 bytes and write length-/-4. Convenient enough Ralph? (and thanks for updating autogen.sh!!) Gerard -- Send the message body "help" to [email protected]