History

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

Originally committed as revision 19249 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 17 years ago

Commit e877eaa1 parent 87b4dd31 file · +3 −3Browse files

Unified · Split

libavcodec/eval.c+3−3
@@ -86,12 +86,12 @@ static const int8_t si_prefixes['z' - 'E' + 1]={ · 85 unmodified lines
8686 * postfixes. This allows using f.e. kB, MiB, G and B as a postfix. This
8787 * function assumes that the unit of numbers is bits not bytes.
8888 */
89−static double av_strtod(const char *name, char **tail) {
89+static double av_strtod(const char *numstr, char **tail) {
9090 double d;
9191 char *next;
92− d = strtod(name, &next);
92+ d = strtod(numstr, &next);
9393 /* if parsing succeeded, check for and interpret postfixes */
94− if (next!=name) {
94+ if (next!=numstr) {
9595
9696 if(*next >= 'E' && *next <= 'z'){
9797 int e= si_prefixes[*next - 'E'];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t