mirror of https://github.com/FFmpeg/FFmpeg.git
All option parsing functions now match the function pointer signature through which they are called (int f(const char *, const char *), thereby working reliably on all platforms. Prefix all option processing functions with opt_pull/2/head
parent
5a931a158f
commit
a09918335f
7 changed files with 61 additions and 38 deletions
@ -1,13 +1,13 @@ |
|||||||
{ "L", OPT_EXIT, {(void*)show_license}, "show license" }, |
{ "L", OPT_EXIT, {(void*)opt_license}, "show license" }, |
||||||
{ "h", OPT_EXIT, {(void*)show_help}, "show help" }, |
{ "h", OPT_EXIT, {(void*)opt_help}, "show help" }, |
||||||
{ "?", OPT_EXIT, {(void*)show_help}, "show help" }, |
{ "?", OPT_EXIT, {(void*)opt_help}, "show help" }, |
||||||
{ "help", OPT_EXIT, {(void*)show_help}, "show help" }, |
{ "help", OPT_EXIT, {(void*)opt_help}, "show help" }, |
||||||
{ "-help", OPT_EXIT, {(void*)show_help}, "show help" }, |
{ "-help", OPT_EXIT, {(void*)opt_help}, "show help" }, |
||||||
{ "version", OPT_EXIT, {(void*)show_version}, "show version" }, |
{ "version", OPT_EXIT, {(void*)opt_version}, "show version" }, |
||||||
{ "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" }, |
{ "formats" , OPT_EXIT, {(void*)opt_formats }, "show available formats" }, |
||||||
{ "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" }, |
{ "codecs" , OPT_EXIT, {(void*)opt_codecs }, "show available codecs" }, |
||||||
{ "bsfs" , OPT_EXIT, {(void*)show_bsfs }, "show available bit stream filters" }, |
{ "bsfs" , OPT_EXIT, {(void*)opt_bsfs }, "show available bit stream filters" }, |
||||||
{ "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" }, |
{ "protocols", OPT_EXIT, {(void*)opt_protocols}, "show available protocols" }, |
||||||
{ "filters", OPT_EXIT, {(void*)show_filters }, "show available filters" }, |
{ "filters", OPT_EXIT, {(void*)opt_filters }, "show available filters" }, |
||||||
{ "pix_fmts" , OPT_EXIT, {(void*)show_pix_fmts }, "show available pixel formats" }, |
{ "pix_fmts" , OPT_EXIT, {(void*)opt_pix_fmts }, "show available pixel formats" }, |
||||||
{ "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" }, |
{ "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" }, |
||||||
|
Loading…
Reference in new issue