changeset 9879:d54ba41c7e48 libavcodec

Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name is more expressive.
author stefano
date Sun, 21 Jun 2009 21:37:05 +0000
parents 05a510cd1e3b
children e934c5f8f4a9
files eval.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Sun Jun 21 03:50:26 2009 +0000
+++ b/eval.c	Sun Jun 21 21:37:05 2009 +0000
@@ -86,12 +86,12 @@
  * 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'];