libmix: add the parameters check to avoid mediaserver crash

BZ: 29342

When the MPEG4 parser gets the invaild parameters, add the check
and return error to OMX to avoid mediaserver crash.

Change-Id: I3c0f71b036bd8c630e245366a5fe1d6390695317
Signed-off-by: wgu11 <wangyi.gu@intel.com>
Reviewed-on: http://android.intel.com:8080/46945
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
1 file changed