libadm
libadm copied to clipboard
libadm throws an error if formalLabel is not 0 or 1
An audioTrackFormat representing some custom codec might have user-defined formatLabel and formatDefinition attributes (see 2076-2 page 80).
libadm throws a parsing error if it encounters anything other than formatDefinition=0000 formatLabel=Undefined or formatDefinition=0001 formatLabel=PCM despite other values being valid.
https://github.com/ebu/libadm/blob/3f94a9b84ecc93c55beacb706f3ea1d71e065b3d/src/elements/format_descriptor.cpp#L12-L34