OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7e4342
)
eval: Fix 32bit unsigned parsing
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 19 Jun 2011 15:57:51 +0000
(17:57 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 19 Jun 2011 23:58:18 +0000
(
01:58
+0200)
Fixes ticket264
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/eval.c
patch
|
blob
|
history
diff --git
a/libavutil/eval.c
b/libavutil/eval.c
index
36cc76d
..
fa2999b
100644
(file)
--- a/
libavutil/eval.c
+++ b/
libavutil/eval.c
@@
-76,7
+76,7
@@
double av_strtod(const char *numstr, char **tail)
double d;
char *next;
if(numstr[0]=='0' && (numstr[1]|0x20)=='x') {
- d = strtol(numstr, &next, 16);
+ d = strto
u
l(numstr, &next, 16);
} else
d = strtod(numstr, &next);
/* if parsing succeeded, check for and interpret postfixes */