[mpi_test]: reset env on test exit

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@407 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-10-20 23:22:30 +00:00
parent 4a75545881
commit 3898d120c6

View File

@@ -54,8 +54,6 @@ int mpi_test()
mpp_log("mpi_test start\n");
mpp_env_set_u32("mpi_debug", 0x1);
buf = (char *)malloc(size);
if (NULL == buf) {
mpp_err("mpi_test malloc failed\n");
@@ -279,7 +277,11 @@ int main(int argc, char **argv)
(void)argc;
(void)argv;
mpp_env_set_u32("mpi_debug", 0x1);
mpi_test();
mpp_env_set_u32("mpi_debug", 0x0);
return 0;
}