I have noticed some inconsistancy in the pdf specifications and header files provided on khronos.org.

for e.g. pdf specify the following API

OMX_ERRORTYPE OMX_GetRolesOfComponent (
OMX_STRING compName,
OMX_U32 *pNumRoles,
OMX_STRING *roles);


where as header fils has

OMX_API OMX_ERRORTYPE OMX_GetRolesOfComponent (
OMX_IN OMX_STRING compName,
OMX_INOUT OMX_U32 *pNumRoles,
OMX_OUT OMX_U8 **roles);

roles parameter type is not same in both specifications.
same is the case with the API OMX_GetComponentsOfRole.

Can someone please tell me which one is the latest and shuld be used.

Thanks !!

Manoj