[mpp]: add mpp_thread.cpp, add mutex_destroy to mpp_allocator, add codec thread and hal thread prototype

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@163 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-26 03:19:32 +00:00
parent 1099661cf5
commit 027f647eb8
6 changed files with 204 additions and 18 deletions

View File

@@ -120,6 +120,7 @@ MPP_RET mpp_alloctor_put(MppAllocator *allocator)
*allocator = NULL;
if (p->os_api.close)
p->os_api.close(p->ctx);
pthread_mutex_destroy(&p->lock);
if (p)
mpp_free(p);