[FFmpeg-devel] [PATCH] Document parse_number_or_die function

Michael Niedermayer michaelni
Mon Feb 25 13:43:56 CET 2008


On Mon, Feb 25, 2008 at 09:24:02AM +0100, Stefano Sabatini wrote:
> On date Monday 2008-02-25 03:49:36 +0100, Michael Niedermayer encoded:
> > 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/
> 
> OK.
> 
> Suggested log: export and document in cmdutils.h the function cmdutils.c:parse_number_or_die

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/798ae5e1/attachment.pgp>



More information about the ffmpeg-devel mailing list