summaryrefslogtreecommitdiffstats
path: root/video/out/gl_lcms.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:03:36 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit9242c34fa26aafb09a9973a5175c281233a13bdc (patch)
treec94bf638a38ce29c8c6e37c9c6167968e8d3cc34 /video/out/gl_lcms.c
parentd8d42b44fc717c695af59c14213d54885088ea37 (diff)
downloadmpv-9242c34fa26aafb09a9973a5175c281233a13bdc.tar.bz2
mpv-9242c34fa26aafb09a9973a5175c281233a13bdc.tar.xz
m_option: add mp_log callback to OPT_STRING_VALIDATE options
And also convert a bunch of other code, especially ao_wasapi and ao_portaudio.
Diffstat (limited to 'video/out/gl_lcms.c')
-rw-r--r--video/out/gl_lcms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_lcms.c b/video/out/gl_lcms.c
index fb2098324d..db4c7dc97b 100644
--- a/video/out/gl_lcms.c
+++ b/video/out/gl_lcms.c
@@ -58,8 +58,8 @@ static bool parse_3dlut_size(const char *arg, int *p1, int *p2, int *p3)
return true;
}
-static int validate_3dlut_size_opt(const m_option_t *opt, struct bstr name,
- struct bstr param)
+static int validate_3dlut_size_opt(struct mp_log *log, const m_option_t *opt,
+ struct bstr name, struct bstr param)
{
int p1, p2, p3;
char s[20];