I’ve notice that the 1.2 spec still has a problem where OMX_U32 is defined as;
typedef unsigned long OMX_U32;
But on most 64 bit platforms this compiles as a 64 bit value! It should be defined as:
typedef unsigned int OMX_U32;
This is 32 on 32 bit platforms and 32 on 64 bit platforms.
- Updated - - -
Though honestly, they should be defined as uint32_t from <stdint.h>