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...