mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[osal]: fix allocator error on x86_64
x86_64 is for simulation debug. It is just for working flow test. Change-Id: I2d1cb50e52a104e58f6eaf3b27fd9dcf41b9ada6 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -138,7 +138,11 @@ MPP_RET os_allocator_get(os_allocator *api, MppBufferType type)
|
||||
*api = allocator_normal;
|
||||
} break;
|
||||
case MPP_BUFFER_TYPE_ION : {
|
||||
#ifdef RKPLATFORM
|
||||
*api = allocator_ion;
|
||||
#else
|
||||
*api = allocator_normal;
|
||||
#endif
|
||||
} break;
|
||||
case MPP_BUFFER_TYPE_V4L2 : {
|
||||
mpp_err("os_allocator_get Linux MPP_BUFFER_TYPE_V4L2 do not implement yet\n");
|
||||
|
Reference in New Issue
Block a user