iomx: simplify param/config size getter.

"OMX_U32 nSize" is the first element of each OMX param/config struct.

Signed-off-by: Martin Storsjö <martin@martin.st>
Android vout: fix possible mutex leak.

Do not leak mutex if i_chroma is VLC_CODEC_ANDROID_OPAQUE.

Signed-off-by: Martin Storsjö <martin@martin.st>
omxil: fix warning

Signed-off-by: Martin Storsjö <martin@martin.st>
omxil: more error check

Signed-off-by: Martin Storsjö <martin@martin.st>