[FFmpeg-devel] [PATCH] Dcoument parse_number_or_die function

Michael Niedermayer michaelni
Mon Feb 25 03:49:36 CET 2008


On Mon, Feb 25, 2008 at 03:44:38AM +0100, Michael Niedermayer wrote:
> On Mon, Feb 25, 2008 at 12:19:30AM +0100, Stefano Sabatini wrote:
> > Hi,
> > as in $subject.
> [...]
> > Index: cmdutils.h
> > ===================================================================
> > --- cmdutils.h	(revision 12192)
> > +++ cmdutils.h	(working copy)
> > @@ -24,6 +24,21 @@
> >  
> >  #include <inttypes.h>
> >  
> > +/**
> > + * parses a string and returns its corresponding value as a double or
> > + * exits from the application if the string cannot be correctly parsed
> > + * or the corresponding value is invalid
> > + *
> > + * @param context the context of the value to be set (e.g. the
> > + * corresponding commandline option name)
> > + * @param numstr the string to be parsed
> 
> > + * @param type the type of the value to be expected from \p numstr
> 
> The type (OPT_INT, blah) as which the string should be parsed.

s/OPT_INT/OPT_INT64/

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080225/cceb0445/attachment.pgp>



More information about the ffmpeg-devel mailing list