mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Merge pull request #3067 from aliaspider/master
(ffmpeg_core.c) passing a format string without the arguments to log_cb
This commit is contained in:
commit
9dec15767a
@ -181,9 +181,14 @@ static struct
|
||||
#ifdef HAVE_SSA
|
||||
static void ass_msg_cb(int level, const char *fmt, va_list args, void *data)
|
||||
{
|
||||
char buffer[4096];
|
||||
(void)data;
|
||||
|
||||
if (level < 6)
|
||||
log_cb(RETRO_LOG_INFO, fmt);
|
||||
{
|
||||
vsnprintf(buffer, sizeof(buffer), fmt, args);
|
||||
log_cb(RETRO_LOG_INFO, "%s\n", buffer);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user