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).
This commit is contained in:
Uoti Urpala 2011-09-04 21:34:11 +03:00
parent 89b37a32da
commit d33f7cf6f2
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ const m_option_t common_opts[] = {
// postprocessing: // postprocessing:
#ifdef CONFIG_FFMPEG #ifdef CONFIG_FFMPEG
{"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, {"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 #endif
// scaling: // scaling: