[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:
ChenHengming
2015-12-25 08:10:49 +00:00
parent 9287e78131
commit 46a3b365b3

View File

@@ -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;