mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 04:42:10 +00:00
vo_opengl: add printf format checking to pass_describe()
This commit is contained in:
parent
95885bbaa2
commit
87e9cd13aa
@ -989,6 +989,7 @@ static void pass_record(struct gl_video *p, struct mp_pass_perf perf)
|
||||
p->pass_idx++;
|
||||
}
|
||||
|
||||
PRINTF_ATTRIBUTE(2, 3)
|
||||
static void pass_describe(struct gl_video *p, const char *textf, ...)
|
||||
{
|
||||
if (!p->pass || p->pass_idx == PASS_INFO_MAX)
|
||||
|
Loading…
Reference in New Issue
Block a user