diff options
author | wm4 <wm4@nowhere> | 2017-07-22 22:08:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-07-22 22:08:23 +0200 |
commit | 87e9cd13aa35286b0dad667d1e66f91798fddbe7 (patch) | |
tree | 2ecf8cd0f45c25ad3661ef8d3639b70ca15851dc /video/out/opengl/video.c | |
parent | 95885bbaa2da73732b6051af72b1a36778264c7f (diff) | |
download | mpv-87e9cd13aa35286b0dad667d1e66f91798fddbe7.tar.bz2 mpv-87e9cd13aa35286b0dad667d1e66f91798fddbe7.tar.xz |
vo_opengl: add printf format checking to pass_describe()
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r-- | video/out/opengl/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 2fe0d14986..ba54dd4c6c 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -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) |