summaryrefslogtreecommitdiff
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-21 21:37:05 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-21 21:37:05 +0000
commite877eaacf3cf827e8a0736cb3e56cce90a7ba274 (patch)
tree33e432683a94ae33dff2e828a74e10cbea9dd770 /libavcodec/eval.c
parent87b4dd3b96b9616367b07c7f1317fa2d8810ae6f (diff)
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
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r--libavcodec/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 335ea5f0e4..8d79a3341a 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -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'];