-
Notifications
You must be signed in to change notification settings - Fork 48
Move the size information in EbmlCallbacks #272
Copy link
Copy link
Open
Labels
abi-breakbreaks the ABI (e.g. programs linked against the library have to be recompiled)breaks the ABI (e.g. programs linked against the library have to be recompiled)api-breakbreaks the API (e.g. programs using it will have to adjust their source code)breaks the API (e.g. programs using it will have to adjust their source code)enhancement
Metadata
Metadata
Assignees
Labels
abi-breakbreaks the ABI (e.g. programs linked against the library have to be recompiled)breaks the ABI (e.g. programs linked against the library have to be recompiled)api-breakbreaks the API (e.g. programs using it will have to adjust their source code)breaks the API (e.g. programs using it will have to adjust their source code)enhancement
SizeIsValid()is used before reading the data. It's only used to check the header if the size is valid. So we could move the check in the EbmlCallbacks (holding the specs of each element).Eventually we can also avoid allocating an element if we know beforehand the size is not valid.