[FFmpeg-devel] [PATCH] cmdutils: remove OPT_FUNC2

Michael Niedermayer michaelni at gmx.at
Wed May 25 03:14:15 CEST 2011


On Tue, May 24, 2011 at 08:19:31PM +0200, Stefano Sabatini wrote:
> 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.
> ---
>  cmdutils.c             |   10 +--
>  cmdutils.h             |   12 +--
>  cmdutils_common_opts.h |    2 +-
>  ffmpeg.c               |  215 ++++++++++++++++++++++++++----------------------
>  ffplay.c               |   35 ++++----
>  ffprobe.c              |    7 +-
>  6 files changed, 148 insertions(+), 133 deletions(-)

if you/people prefer this then ok with me

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110525/3a8d1b1b/attachment.asc>


More information about the ffmpeg-devel mailing list