From 88c6f18209474d05a29a0c13f5473e6aa02455f4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 8 Jan 2015 16:54:15 +0100 Subject: vo_opengl_cb: fix a typo --- video/out/vo_opengl_cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index 49564a442c..a689a1dcbe 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -344,7 +344,7 @@ static bool reparse_cmdline(struct vo_priv *p, char *args) // list of options which can be changed at runtime #define OPT_BASE_STRUCT struct vo_priv - static const struct m_option change_otps[] = { + static const struct m_option change_opts[] = { OPT_FLAG("debug", use_gl_debug, 0), OPT_SUBSTRUCT("", renderer_opts, gl_video_conf, 0), {0} @@ -352,7 +352,7 @@ static bool reparse_cmdline(struct vo_priv *p, char *args) #undef OPT_BASE_STRUCT const struct vo_priv *vodef = p->vo->driver->priv_defaults; - cfg = m_config_new(NULL, p->vo->log, sizeof(*opts), vodef, change_otps); + cfg = m_config_new(NULL, p->vo->log, sizeof(*opts), vodef, change_opts); opts = cfg->optstruct; r = m_config_parse_suboptions(cfg, "opengl-cb", args); -- cgit v1.2.3