mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[vpu_api]: return dup new fd rather than the old input fd
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@380 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -271,7 +271,7 @@ static RK_S32 commit_memory_handle(vpu_display_mem_pool *p, RK_S32 mem_hdl, RK_S
|
||||
info.size = size;
|
||||
p_mempool->size = size;
|
||||
mpp_buffer_commit(p_mempool->group, &info);
|
||||
return mem_hdl;
|
||||
return info.fd;
|
||||
}
|
||||
|
||||
static void* get_free_memory_vpumem(vpu_display_mem_pool *p)
|
||||
|
Reference in New Issue
Block a user