summaryrefslogtreecommitdiff
path: root/cmdutils_common_opts.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-24 18:14:42 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-28 18:23:05 +0200
commiteb8bc57240d5d3e4680ff1df18a0a7792e96bd0c (patch)
treeb3dc566505456d6a121bc0e3f03883e52bd7ac7a /cmdutils_common_opts.h
parent78046dadc3145a7afd16034ab1178033a053a03e (diff)
downloadffmpeg-eb8bc57240d5d3e4680ff1df18a0a7792e96bd0c.tar.gz
cmdutils: remove OPT_FUNC2
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.
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r--cmdutils_common_opts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
index da309977bd..9b5e5d22cd 100644
--- a/cmdutils_common_opts.h
+++ b/cmdutils_common_opts.h
@@ -10,4 +10,4 @@
{ "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 | OPT_FUNC2, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },
+ { "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },