mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user