[FFmpeg-devel] [PATCH] Make parse_options take as argument a parse argument function

Stefano Sabatini stefano.sabatini-lala
Fri Aug 10 19:54:18 CEST 2007


Hi all.

Suggested log: 
make cmdutils.c:parse_options take as argument a parse bare argument function.

Rationale:

* make more explicit the behaviour of the parse_options function

* no need to define anymore a function named parse_arg_file in a file
  using cmdutils.c, a bare argument in the command line is managed by
  the function passed to parse_options

* as a consequence of the previous point, is cleaner to include the
  cmdutils.c module into a program which doesn't use the parse_options
  function (no need to define an eventually empty parse_arg_file
  function)

Cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-parse-options-take-as-argument-parse-arg-function-00.patch
Type: text/x-diff
Size: 2745 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070810/bf9db25d/attachment.patch>



More information about the ffmpeg-devel mailing list