mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-21 16:19:23 +08:00
[legacy]: initial both buf_size and size on create
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@521 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -154,6 +154,7 @@ int create_vpu_memory_pool_allocator(vpu_display_mem_pool **ipool, int num, int
|
||||
p_mempool->get_unused_num = get_free_memory_num;
|
||||
p_mempool->version = 0;
|
||||
p_mempool->buff_size = size;
|
||||
p_mempool->size = size;
|
||||
*ipool = (vpu_display_mem_pool*)p_mempool;
|
||||
|
||||
(void)num;
|
||||
|
Reference in New Issue
Block a user