OMX: Send Dummy Output Buffers When Parsing Header for Mpeg2

The Mpeg2 Decoder codec will throw an error if output buffers are not
passed to the process call, even if only the header parsing is being
requested.

To get around this error and avoid using user buffers for this purpose,
a dummy buffer is allocated before calling the process for parsing the
header, and then freed after the process call.

Change-Id: I90b68045f108b253b127fe6d32724c79994a3058
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
1 file changed