1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-28 22:13:51 +00:00

Merge pull request from aliaspider/master

(ffmpeg_core.c) passing a format string without the arguments to log_cb
This commit is contained in:
Twinaphex 2016-06-04 05:46:18 +02:00
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