Hello,
I think, there is a small (negligible) issue in algorithm generating wizards and codes examples too.
The XDM_ErrorBit values are very often used in wizard generated source files (and the codec examples too).
The problem is, that this values is bitpositions originally (defined in xdm.h), and in the samples these are used as their values.
For example, this XDM_ErrorBit value in universal_copy.c of universal_copy example is used in the following form:
outArgs->extendedError = XDM_UNSUPPORTEDPARAM;
In this case, extendedError will be 14 instead of (1 << 14), which would equal to 0x4000.
If anybody in the application (or in codec itself) wants to check this value using macro XDM_ISUNSUPPORTEDPARAM(x) will got unexpected result.
Although this issue not critical, inexperienced software developers unnecessary spend their time with searching errors.
Peter