From d33f7cf6f21c991ed6ef89f710f11bdc25e4a525 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 4 Sep 2011 21:34:11 +0300 Subject: options: --pphelp: fix after libpostproc version change The last libpostproc major version change from 51 to 52 changed the type of the "pp_help" symbol from a pointer to help text to the help text itself. This made --pphelp crash. Change the option definition to match the new type. This probably makes it crash if compiled against older libpostproc, but the option is not important enough to try supporting that (I've seen no reports of the crash, probably people just don't use the option). --- cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 48890eab26..274b23d1ac 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -605,7 +605,7 @@ const m_option_t common_opts[] = { // postprocessing: #ifdef CONFIG_FFMPEG {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, - {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL}, + {"pphelp", &pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif // scaling: -- cgit v1.2.3