[Matroska-devel] EBML improvements

Steve Lhomme steve.lhomme at free.fr
Mon Aug 30 11:52:56 CEST 2004


Moritz Bunkus a écrit :

> Hi,
> 
> 
>>The specs clearly say that the size is always between 0 and something.
> 
> 
> :)
> 
> Ok that would work. Of course it "only" saves one byte compared to an
> UInteger, but that's of course better than nothing ;) Especially for
> cases in which flags are used often.

Well, after talking on IRC, it seems that the size=0 should be 
generalized. It would mean that the element has the default value. 
Otherwise some elements that are not mandatory should never have a 
default value.

And that change (addition, actually) would make a new EbmlFlag type useless.

-- 
robUx4 on blog <http://robux4.blogspot.com/>



More information about the Matroska-devel mailing list