# HG changeset patch # User stefano # Date 1245620225 0 # Node ID d54ba41c7e4877fff7e5a4f17afbad24000fd34f # Parent 05a510cd1e3be4bdfb1ae5489877049a92049532 Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name is more expressive. diff -r 05a510cd1e3b -r d54ba41c7e48 eval.c --- 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'];