why componet init function allocates memory for all

Hi all,
why component init function allocates memory for all compression format’s, following structures.
OMX_VIDEO_PARAM_MPEG4TYPE
OMX_VIDEO_PARAM_AVCTYPE
OMX_VIDEO_PARAM_WMVTYPE

unconditionally it allocates memory for all these structures. i am thinking it should allocate to only one codec as the request is given by compression format.

thanks in advance,
Thanks
Mahesha