[Ffmpeg-cvslog] r6327 - trunk/libavcodec/eval.c

Panagiotis Issaris takis.issaris
Mon Sep 25 08:47:55 CEST 2006


Hi

Op maandag 25 september 2006 02:14, schreef Rich Felker:
>[...]
> > +extern double av_strtod(const char *name, char **tail);
> > +
> 
> Perhaps there is a reason, but I'm wondering wtf is the reason for
> having 'av_strtod' with a prototype (and presumably behavior)
> identical to C's strtod. Is it just for the sake of making bloat??

As seen in opt.c:
     53 /** strtod() function extended with 'k', 'M', 'G', 'ki', 'Mi', 'Gi' and 'B'
     54  * postfixes.  This allows using f.e. kB, MiB, G and B as a postfix. This
     55  * function assumes that the unit of numbers is bits not bytes.
     56  */
     57 double av_strtod(const char *name, char **tail) {

With friendly regards,
Takis




More information about the ffmpeg-cvslog mailing list