[test]: change deinit interface, add more detail to mpi_test

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@153 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-24 03:52:11 +00:00
parent 8d6ace3794
commit 3850b79cdc
7 changed files with 103 additions and 18 deletions

View File

@@ -160,7 +160,7 @@ MPP_RET mpp_init(MppCtx *ctx, MppApi **mpi)
return MPP_OK;
}
MPP_RET mpp_deinit(MppCtx* ctx)
MPP_RET mpp_deinit(MppCtx ctx)
{
MpiImpl *p;
MPI_FUNCTION_ENTER();
@@ -170,7 +170,7 @@ MPP_RET mpp_deinit(MppCtx* ctx)
return MPP_ERR_NULL_PTR;
}
p = (MpiImpl*)*ctx;
p = (MpiImpl*)ctx;
if (p->check != p) {
mpp_err("mpp_deinit input invalid MppCtx\n");
@@ -179,7 +179,6 @@ MPP_RET mpp_deinit(MppCtx* ctx)
if (p)
mpp_free(p);
*ctx = NULL;
MPI_FUNCTION_LEAVE();
return MPP_OK;