Commit a3f7c864 authored by stefano's avatar stefano

Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name

is more expressive.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 607cf9af
......@@ -86,12 +86,12 @@ static const int8_t si_prefixes['z' - 'E' + 1]={
* 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'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment