[mpp]: move init flag to private data, add comment for extra data

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@536 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-01-20 07:53:55 +00:00
parent cb0d12ec49
commit 0f36c7e195
3 changed files with 29 additions and 19 deletions

View File

@@ -131,9 +131,7 @@ static MPP_RET mpi_reset(MppCtx ctx)
MpiImpl *p = (MpiImpl *)ctx;
MPP_RET ret = MPP_OK;
MPI_FUNCTION_ENTER();
if (p->ctx->mInitDone) {
ret = p->ctx->reset();
}
ret = p->ctx->reset();
MPI_FUNCTION_LEAVE();
return ret;
}