mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 16:52:40 +08:00
refactor[osal]: Refactor C++ osal file to C
1. Refactor osal cpp files to c. 2. Update osal license to Apache-2.0 OR MIT. 3. Remove windows support. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Ic5545d861676880f7a6247515404d585cd4fcef5
This commit is contained in:
16
osal/mpp_callback.c
Normal file
16
osal/mpp_callback.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/* SPDX-License-Identifier: Apache-2.0 OR MIT */
|
||||
/*
|
||||
* Copyright (c) 2021 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
#define MODULE_TAG "mpp_callback"
|
||||
|
||||
#include "mpp_callback.h"
|
||||
|
||||
MPP_RET mpp_callback_f(const char *caller, MppCbCtx *ctx, void *param)
|
||||
{
|
||||
if (ctx && ctx->ctx && ctx->callBack)
|
||||
return ctx->callBack(caller, ctx->ctx, ctx->cmd, param);
|
||||
|
||||
return MPP_OK;
|
||||
}
|
Reference in New Issue
Block a user