Move the size information in EbmlCallbacks #272
Labels
abi-break
breaks the ABI (e.g. programs linked against the library have to be recompiled)
api-break
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.
The text was updated successfully, but these errors were encountered: