[FFmpeg-cvslog] r19249 - trunk/libavcodec/eval.c

stefano subversion
Sun Jun 21 23:37:05 CEST 2009


Author: stefano
Date: Sun Jun 21 23:37:05 2009
New Revision: 19249

Log:
Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
is more expressive.

Modified:
   trunk/libavcodec/eval.c

Modified: trunk/libavcodec/eval.c
==============================================================================
--- trunk/libavcodec/eval.c	Sun Jun 21 22:18:29 2009	(r19248)
+++ trunk/libavcodec/eval.c	Sun Jun 21 23:37:05 2009	(r19249)
@@ -86,12 +86,12 @@ static const int8_t si_prefixes['z' - 'E
  * postfixes.  This allows using f.e. kB, MiB, G and B as a postfix. This
  * function assumes that the unit of numbers is bits not bytes.
  */
-static double av_strtod(const char *name, char **tail) {
+static double av_strtod(const char *numstr, char **tail) {
     double d;
     char *next;
-    d = strtod(name, &next);
+    d = strtod(numstr, &next);
     /* if parsing succeeded, check for and interpret postfixes */
-    if (next!=name) {
+    if (next!=numstr) {
 
         if(*next >= 'E' && *next <= 'z'){
             int e= si_prefixes[*next - 'E'];



More information about the ffmpeg-cvslog mailing list