[FFmpeg-devel] [PATCH] Make parse_options use parse_number_or_die for parsing args

Stefano Sabatini stefano.sabatini-lala
Mon Feb 25 00:39:09 CET 2008


Hi, as in $subject.

BTW, I still somehow don't like the parse_number_or_die function since it can't
for example checks for errors like these:
ffmpeg -dframes 123.456

123.456 is converted to 123, no warning issued.

Anyway this solution is still far better than the current dumb atoX
parsing.

Regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-args-parsing-in-parse-options-00.patch
Type: text/x-diff
Size: 1144 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080225/5859391f/attachment.patch>



More information about the ffmpeg-devel mailing list