mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 03:34:56 +00:00
eb8bc57240
Make ff* tools only accept opt_* functions taking two arguments. The distinction between functions with one and two arguments is quite pointless. Simplify parse_options() code.
14 lines
963 B
C
14 lines
963 B
C
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
|
|
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
|
|
{ "?", OPT_EXIT, {(void*)show_help}, "show help" },
|
|
{ "help", OPT_EXIT, {(void*)show_help}, "show help" },
|
|
{ "-help", OPT_EXIT, {(void*)show_help}, "show help" },
|
|
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
|
|
{ "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" },
|
|
{ "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" },
|
|
{ "bsfs" , OPT_EXIT, {(void*)show_bsfs }, "show available bit stream filters" },
|
|
{ "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" },
|
|
{ "filters", OPT_EXIT, {(void*)show_filters }, "show available filters" },
|
|
{ "pix_fmts" , OPT_EXIT, {(void*)show_pix_fmts }, "show available pixel formats" },
|
|
{ "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },
|