[mpi]: rename mpi_flush to mpi_reset

[h264d]: fix warning on strupr

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@535 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-01-20 07:36:48 +00:00
parent db7e4ff619
commit cb0d12ec49
5 changed files with 42 additions and 18 deletions

View File

@@ -85,8 +85,8 @@ RK_S32 VpuApi::flush(VpuCodecContext *ctx)
{
(void)ctx;
mpp_log_f("in\n");
if (mpi && mpi->flush) {
mpi->flush(mpp_ctx);
if (mpi && mpi->reset) {
mpi->reset(mpp_ctx);
}
mpp_log_f("ok\n");
return 0;