mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[mpp]: Fix compiling error on Linux
Issue: https://github.com/rockchip-linux/mpp/issues/48 Change-Id: I08bc75a4cab23d4b96c6bac3b671e50edbff55fb Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -78,7 +78,7 @@ MppTimer mpp_timer_get(const char *name)
|
||||
MppTimerImpl *impl = mpp_calloc(MppTimerImpl, 1);
|
||||
if (impl) {
|
||||
impl->check = module_name;
|
||||
snprintf(impl->name, sizeof(impl->name), name);
|
||||
snprintf(impl->name, sizeof(impl->name), name, NULL);
|
||||
} else
|
||||
mpp_err_f("malloc failed\n");
|
||||
|
||||
|
Reference in New Issue
Block a user