spa: use the spa_log_logv macro to chain the log calls

No need to use the interface call directly here, let's just use the
macro.
This commit is contained in:
Peter Hutterer 2021-09-14 15:27:24 +10:00 committed by Wim Taymans
parent cbcf62f341
commit 9eda834417

View file

@ -69,8 +69,7 @@ impl_log_logv(void *object,
if (impl->chain_log != NULL) {
va_list args_copy;
va_copy(args_copy, args);
spa_interface_call(&impl->chain_log->iface,
struct spa_log_methods, logv, 0,
spa_log_logv(impl->chain_log,
level, file, line, func, fmt, args_copy);
va_end(args_copy);
}